-->
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: @Id and MSSQL Guid's: What's the long-term plan?
PostPosted: Tue Jun 07, 2005 4:45 pm 
Newbie

Joined: Fri Jun 25, 2004 9:05 pm
Posts: 13
Based on the javax.persistence.Id class, I am not sure of which GeneratorType would actually be used for cases when you want a DB-generated GUID.

Without annotations, you would just use the guid generator provided by Hibernate, but there doesn't seem to be an applicable mapping inside the annotation world.

Is this know, and will be added to the spec, or is there a workaround that I am not seeing. Obviously the code already exists to generate this Id within Hibernate, I just don't see how it will fit in with the EJB3 spec.

Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 10, 2005 4:45 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
It will not be part of the current release of the spec I think, but I'll add some Hibernate specific annotations for that.

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Thu Oct 20, 2005 4:17 am 
Newbie

Joined: Thu Oct 20, 2005 4:15 am
Posts: 8
emmanuel wrote:
It will not be part of the current release of the spec I think, but I'll add some Hibernate specific annotations for that.


Could you please post a link to JIRA issue on this topic or something?


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 24, 2005 5:54 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
This is already released, check the doc for @GenericGenerator

_________________
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.