-->
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: Noob question - doing a "SELECT UNIQUE"?
PostPosted: Mon Aug 29, 2005 5:10 pm 
Newbie

Joined: Thu Jul 28, 2005 11:22 am
Posts: 9
In hibernate 3.x how do I do the eqivalent of a SELECT UNIQUE sql query?

Thanks.

_________________
The delusion that people care about what I think.
http://mywebpages.comcast.net/daorriss/


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 7:36 pm 
Senior
Senior

Joined: Wed Jul 13, 2005 4:31 pm
Posts: 142
Location: Seattle, WA
select distinct o.a from MyObject o


Top
 Profile  
 
 Post subject:
PostPosted: Mon Aug 29, 2005 9:11 pm 
Newbie

Joined: Thu Jul 28, 2005 11:22 am
Posts: 9
anar wrote:
select distinct o.a from MyObject o


Thanks anar.. for some reason I just thought it was more involved than that..

I appreciate the help.

_________________
The delusion that people care about what I think.
http://mywebpages.comcast.net/daorriss/


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.