added JPA/h2 support