From: <leg...@at...> - 2003-07-13 17:37:43
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-187 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-187 Summary: Problem with limit clause and named parameters Type: Bug Status: Unassigned Priority: Minor Project: Hibernate2 Components: core Versions: 2.0 final Assignee: Reporter: William Drai Created: Sun, 13 Jul 2003 12:36 PM Updated: Sun, 13 Jul 2003 12:36 PM Description: When using a limit clause and named parameters in a query, the limit parameters are not populated correctly when a parameter is used multiple times. for example the query "from c where c.field1 = :arg and c.field2 = :arg" won't work with a limit clause. I think the problem is that the bindNamedParameters method in QueryTranslator always returns the namedParams map size, instead of counting all parameters instances. --------------------------------------------------------------------- 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 |