From: <leg...@at...> - 2005-01-17 15:32:12
|
The following comment has been added to this issue: Author: Chris Nelson Created: Mon, 17 Jan 2005 9:31 AM Body: All, As the originator of this patch, I have at this point given up on the existing Hibernate Criteria API as it is. The count issue, the awkwardness of using subcriteria, the lack of ability to do ordering on related object properties, there were simply too many problems that made it unusable for the purposes of our applications. Instead, we developed our own Criteria API that generates HQL. At this point we have been using it for a year and it is pretty mature. It is able to do nested properties to an arbitrary level, do auto-joins across collection properties, supports projection and aggregration, etc. If there is interest, I can talk to my client about releasing it as open source. However, as I'm sure the Hibernate dev team will tell you, I see absolutely NO chance it will ever be included in the main Hibernate code base. I would, howevery, be happy to put it up on dev.java.net if there is interest and my client is willing. But since I no longer use the Hibernate Criteria API, I will not be supporting this count() patch anymore. --Chris --------------------------------------------------------------------- View this comment: http://opensource.atlassian.com/projects/hibernate/browse/HB-474?page=comments#action_15597 --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/browse/HB-474 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-474 Summary: adding Criteria.count() method Type: Patch Status: Unassigned Priority: Major Original Estimate: Unknown Time Spent: Unknown Remaining: Unknown Project: Hibernate2 Components: core Versions: 2.1 2.1 rc1 Assignee: Reporter: Chris Nelson Created: Sun, 16 Nov 2003 12:53 PM Updated: Mon, 17 Jan 2005 9:31 AM Description: Adds a count() method to the Criteria class that does a modified query to return the count without returning entire query. --------------------------------------------------------------------- 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 |