Hibernate3 maven plugin: make hbm2java generate sleep annotations instead of ejb3 annotations

Is there a way to get hbm2java to target the hibernate3 maven plugin to generate java classes with sleep annotations instead of ejb3 annotations? I really don't need ejb / jpa, and hibernation annotations work better for me because of better integration with grails.

+3
source share
1 answer

As far as I know, no, ejb3=truein hbm2javameans using EJB3 / Hibernate annotations. Quoting the generation of annotated pojos on the Hibernate forums:

ejb3 JPA Hibernate; , , JPA, .

, Jira, .

+1

Source: https://habr.com/ru/post/1730261/


All Articles