-->
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: Implicit polymorphism: ORDER BY & TOP for each SQL-Selec
PostPosted: Mon Jun 25, 2007 5:21 am 
Beginner
Beginner

Joined: Wed Nov 29, 2006 10:32 am
Posts: 34
When using implicit polymorphism, ORDER BY and TOP (maxResults) are placed on each SQL-Select. But the whole query result is then NOT "repaired" in the sense that it is sorted again globally (over all sub-results) and then truncated.

We actually need this behavior from now on (because of the way we define Views on SQL Server) - can we rely on this for the future?

Best regards
Harald M.

----

Hibernate version:
(Still) 1.0.4

Mapping documents:
n/a (but I can provide a simple example distilled from the NHibernate manual).

Code between sessionFactory.openSession() and session.close():
n/a

Full stack trace of any exception that occurs:
n/a

Name and version of the database you are using:
SQL Server 2005

The generated SQL (show_sql=true):
n/a

Debug level Hibernate log excerpt:
n/a


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.