-->
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.  [ 2 posts ] 
Author Message
 Post subject: How can I refer the "index" value of a Map, in a f
PostPosted: Tue Aug 03, 2004 6:50 am 
Newbie

Joined: Fri Jul 02, 2004 6:47 am
Posts: 12
How can I refer the "index" value of a Map, in a find query?


Top
 Profile  
 
 Post subject: Re: How can I refer the "index" value of a Map, in
PostPosted: Tue Aug 03, 2004 8:36 am 
Expert
Expert

Joined: Fri Feb 06, 2004 7:49 am
Posts: 255
Location: Moscow, Russia
deebhasin wrote:
How can I refer the "index" value of a Map, in a find query?

Search the following doc for 'index' keyword
http://www.hibernate.org/hib_docs/reference/en/html/queryhql.html
example:
Code:
where index(yourMap) = 'key'


--
Leonid


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