Hibernate Tips: How to automatically add Metamodel classes to your project
|

Hibernate Tips: How to automatically add Metamodel classes to your project

Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions. If you have a question you like me to answer, please leave a comment below. Question: I use Hibernate’s Static Metamodel Generator to generate the JPA Metamodel. These classes are generated to a different directory…

Hibernate Tips: How to create a database setup script based on entity mappings

Hibernate Tips: How to create a database setup script based on entity mappings

Hibernate Tips is a series of posts in which I describe a quick and easy solution for common Hibernate questions. If you have a question you like me to answer, please leave a comment below. Question: I want to use a database setup script instead of Hibernate’s schema generation. What’s the easiest way to create…