Plugins (1077)


Training and Consulting (43)



EPIC Poll

What is your favourite developer portal?

[ Results | Polls ]

Votes: 539
Comments: 0

Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
sajithv
Post subject: Mapping File generation  PostPosted: Feb 05, 2008 - 05:35 AM



Joined: Feb 05, 2008
Posts: 1

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
 
 View user's profile Send private message  
Reply with quote Back to top
maxxyme
Post subject: RE: Mapping File generation  PostPosted: Feb 07, 2008 - 10:31 AM



Joined: Jan 15, 2008
Posts: 5

I faced the same problem, and unfortunately Hibernate Synchronizer seems to not support it... Sad
You have to set the <id> element by yourself.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits