-->
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 to gen list of founded ids
PostPosted: Sun May 09, 2010 12:15 pm 
Newbie

Joined: Fri Oct 09, 2009 12:10 pm
Posts: 2
Hello,
I'm new in hibernate search and I have question. When I use it a see queries like that
Code:
  select
        this_.ID_STANOWISKO as ID1_0_0_,
        this_.nazwa as nazwa0_0_,
        this_.VERSION as VERSION0_0_
    from
        STANOWISKO this_
    where
        (
            this_.ID_STANOWISKO in (
                ?, ?, ?, ?, ?, ?
            )
        )


I need get list of ids which are use it IN section. How to do this???


Top
 Profile  
 
 Post subject: Re: How to gen list of founded ids
PostPosted: Mon May 10, 2010 2:57 am 
Pro
Pro

Joined: Wed Oct 03, 2007 2:31 pm
Posts: 205
Have a look at:

http://docs.jboss.org/hibernate/stable/ ... rojections

You can use projections in Hibernate Search.


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.