I’ve just started using hibernate and my eclipse, ans so far I very much like what I see.
There are two problems I’ve notices in the generated hbm.xml files that make the generated code a problem
1 – If you are using a postgre sequence, the code should pick up the sequence ID table for the sequence.
e.g.
<generator class=”sequence”>
<param name=”sequence”>ss1.family_id_seq</param>
</generator>
2 – If you are logged on as one person, but use a different schema, the generated code will not work. You need to add the schema attribute in the table definition.
thx