Eclipse 2025-06, OpenJDK 25, Hibernate Tools 6.5, PostgreSQL Database v17, postgresql-42.7.2.jar driver
I set up Hibernate Configuration and checked Console Configuration Type to JPA (jdk 1.5+). In Hibernate Code Generation Configuration and Exporters tab, I checked both 'Use Java 5 syntax' and 'Generate EJB3 annotations' and then checked 'Domain Code (.java). It generates Java domain classes but no JPA annotations which I want. I would appreciate help in setting it up correctly so that generated Java classes also have JPA annotations. Thanks.