-->
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.  [ 3 posts ] 
Author Message
 Post subject: GenerationType.AUTO vs GenerationType.SEQUENCE
PostPosted: Thu Jul 07, 2011 2:15 am 
Newbie

Joined: Thu Jul 07, 2011 2:06 am
Posts: 2
Can anyone tell the difference between the usage of GenerationType.AUTO vs GenerationType.SEQUENCE.
inside java class as annotation.

Thanks,
R.Kannan


Top
 Profile  
 
 Post subject: Re: GenerationType.AUTO vs GenerationType.SEQUENCE
PostPosted: Fri Jul 08, 2011 10:51 am 
Newbie

Joined: Thu Apr 21, 2011 8:59 am
Posts: 14
These are the strategies specified to the underlying database for generating primary-keys of the entities being persisted.
You can read the further details at http://docs.jboss.org/hibernate/annotations/3.5/reference/en/html_single/#entity-mapping-identifier

_________________
Lokesh, C
( SCBCD 5, CCENT, SCJP 5 )


Top
 Profile  
 
 Post subject: Re: GenerationType.AUTO vs GenerationType.SEQUENCE
PostPosted: Wed Jul 13, 2011 2:49 am 
Newbie

Joined: Thu Jul 07, 2011 2:06 am
Posts: 2
Thank U lokesh.
Its helpful for me.

thanks & regards,
r.kannan


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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.