started support of JPA - to be continued