Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-132
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-132
Summary: Query by Criteria enhancement
Type: Improvement
Status: Unassigned
Priority: Minor
Project: Hibernate2
Versions:
2.1
Assignee:
Reporter: Grzegorz Mucha
Created: Thu, 12 Jun 2003 3:59 AM
Updated: Thu, 12 Jun 2003 3:59 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/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|