reverse engineer « HBM « JPA Q&A





1. Changing the Hibernate 3 settings    stackoverflow.com

I use Hibernate3 and Hibernate Tools 3.2.4 to generate hbm.xml and java files and I want to use List instead of HashSet(...). I've tried to modify the hbm.xml files, putting list ...

2. Hibernate reverse engineering primary keys (EmbeddedId to IdClass)    stackoverflow.com

I am using hbm2java (hibernate3-maven-plugin) in order to generate entities. How do I switch the auto generated @EmbeddedId to @IdClass? Thanks