• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

hibernate

 
srilavanyaa subramanian
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i don't know where i have to post this question so im posting here. whether hibernate mapping file can be created without <id> tag
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well you need to post this in the ORM forum. I'll move it there.
[ September 20, 2006: Message edited by: Paul Sturrock ]
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And now your answer: a mapping needs an id.

And to pre-empt where this question might be coming from, every table in a relational database must have a primary key.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic