-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: default id generation strategy
PostPosted: Mon Feb 05, 2007 8:28 pm 
Newbie

Joined: Mon Feb 05, 2007 8:20 pm
Posts: 2
Regarding mapping identifier properties, the Hibernate Annotations says "AUTO - either identity column, sequence or table depending on the underlying DB". My question is: what class includes these logic? where can I find the information?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Feb 05, 2007 11:53 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
The database Dialects

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 06, 2007 12:57 pm 
Newbie

Joined: Mon Feb 05, 2007 8:20 pm
Posts: 2
emmanuel wrote:
The database Dialects


Thank you. If I use HSQLDialect, which generation strategy is by default used, Identity or Sequence or Table? Looks like it supports both Identity and Sequence.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 07, 2007 9:27 pm 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Code:
getNativeIdentifierGeneratorClass()
defines it

_________________
Emmanuel


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.