-->
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: MS SQL Server 'uniqueidentifier' type
PostPosted: Tue Aug 26, 2003 7:45 pm 
Newbie

Joined: Tue Aug 26, 2003 2:31 pm
Posts: 15
Location: San Diego, CA
How do you map uniqueuidentifers in a hibernate mapping file. I couldn't find this type in the documentation.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 26, 2003 9:16 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
Do you mean the GUID?

or do you mean an IDENTITY column?


Top
 Profile  
 
 Post subject: GUID's
PostPosted: Tue Aug 26, 2003 9:25 pm 
Newbie

Joined: Tue Aug 26, 2003 2:31 pm
Posts: 15
Location: San Diego, CA
The column is of type 'uniqueidentifier'. It is a GUID.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Aug 26, 2003 9:31 pm 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
well, as far as hibernate is concerned, it is just an ordinary column. Map it as a long, or string, or binary, or something.


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.