-->
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: HB 3.1: Enhancements to Criteria query facility
PostPosted: Sun Sep 19, 2004 8:25 pm 
Pro
Pro

Joined: Tue Aug 26, 2003 8:07 pm
Posts: 229
Location: Brisbane, Australia
The roadmap for 3.1 says:
Quote:
add support for projection and other new features
.
While this will be useful*, our application would actually benefit more from the ability to specify order-by and fetch-strategy on sub-criteria.

Is this planned for the 3.1 "other new features"?

I noticed that explicit code has been added to the Hibernate 3 codebase to throw a specific exception when the user tries to add an order-by to a sub-criteria.

How hard would it be to extend the Criteria API to support ordering and such on sub-criteria? Is there some kind of fundamental issue, or does it just need someone to get around to it?

* Depending of course on how the Criteria API will actually support this. Has a way forward been decided upn yet for how to specify projection?

_________________
Cheers,
Shorn.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 20, 2004 4:01 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 12:50 pm
Posts: 5130
Location: Melbourne, Australia
The fundamental issue is that no-one has time to work on this stuff until after 3.0 is out.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 21, 2004 8:42 pm 
Pro
Pro

Joined: Tue Aug 26, 2003 8:07 pm
Posts: 229
Location: Brisbane, Australia
There's already a patch, see HB-132 (assuming the patch works).

Is there a plan to apply this patch to the codebase?

_________________
Cheers,
Shorn.


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.