Eclipse Plugin Central

Hibernate Synchronizer - Mapping File generation

sajithv - Feb 05, 2008 - 05:35 AM
Post subject: Mapping File generation
Hi ,

I am using eclipse 3.3.2 with JDK 1.5.0 and Hibernate 3.0 with hibernate synchronizer 3.1.9 .

Currently the XML mapping file i am generating for a table with Hibernate wizard is not correctly generating the id element for the primary key. All the elements for the table generated are property elements whether or not it is primary key.
Is that due to any version compatibilty ?

Does any body face such kind of problem.
Please respond.
Thanks in advance

Reagrds sajith
maxxyme - Feb 07, 2008 - 10:31 AM
Post subject: RE: Mapping File generation
I faced the same problem, and unfortunately Hibernate Synchronizer seems to not support it... Sad
You have to set the <id> element by yourself.
All times are GMT - 6 Hours
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits