JPA support

Signed-off-by: ryo <ryo.hune@gmail.com>