From: <leg...@at...> - 2003-08-02 11:12:16
|
Message: The following issue has been closed. Resolver: Max Rydahl Andersen Date: Sat, 2 Aug 2003 6:11 AM Seems to already be fixed in the current release ? --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-8 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-8 Summary: FinderRenderer generates invalid HQL Type: Bug Status: Closed Priority: Minor Resolution: CANNOT REPRODUCE Project: Hibernate2 Components: toolset Versions: 2.0rc2 Assignee: Max Rydahl Andersen Reporter: Tyler Burd Created: Thu, 1 May 2003 1:41 AM Updated: Sat, 2 Aug 2003 6:11 AM Environment: jdk1.4_02, W2k Description: Finder methods generated by the FinderRenderer use the capitalized class name as the identifier in the from clause of the finder HQL. This results in queries like the following: "from User in class com.whatever.User where User.lastName=?" This causes an 'invalid token' error when the finder is executed. The identifier should be all lowercase. This would generate legal queries like the following: "from user in class com.whatever.User where user.lastName=?" Offending lines: classMapping.getName() on lines 142 and 163 of FinderRenderer.java should be classMapping.getName().toLowerCase(). --------------------------------------------------------------------- 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 |