DB JDBC and JPA sample