-->
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.  [ 1 post ] 
Author Message
 Post subject: why hibernate criteria constructs subquery
PostPosted: Mon Dec 15, 2008 2:29 pm 
Newbie

Joined: Fri Dec 12, 2008 8:59 pm
Posts: 10
Hi,

i am using hibernate criteria for for my search, but when am seeing the query constructed by hibernate , its contain subquery.

actually i created table, the table is actually view, in criteria just am passing the search params, but i dont have idea y its constructing subquery, is all the critera constructs subquery?

like this
select * from (
select row_.*, rownum rownum_ from (...


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

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.