From: <leg...@at...> - 2005-01-18 09:34:07
|
The following issue has been updated: Updater: Michael Kantarovich (mailto:fo...@gm...) Date: Tue, 18 Jan 2005 3:32 AM Comment: Hi, Here is very lightweight patch for 2.1.6 It's based on Lukas solution. Enjoy. Changes: Attachment changed to hibernate216-order-patch.jar --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/browse/HB-132?page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/browse/HB-132 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-132 Summary: Order support for joined Criteria Type: Improvement Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: Hibernate2 Components: core Versions: 2.1 Assignee: Reporter: Grzegorz Mucha Created: Thu, 12 Jun 2003 3:59 AM Updated: Tue, 18 Jan 2005 3:32 AM Description: Is there a plan to add some extensions to Criteria API? Since there is now FETCH support in Criteria, a nice thing would be to allow users sorting the criteria returned not only by class properties, but the associated classes' properties as well. example: class Task { User user; ........ } Criteria crit=session.createCriteria(Task.class); crit.addOrder(Order.asc("user.lastName"); I know it can be done in java,by applying own sorters for the returned list, though I'd prefer a single step process --------------------------------------------------------------------- JIRA INFORMATION: This message is automatically generated by JIRA. If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |