2

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.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.