From: <leg...@at...> - 2003-08-14 14:07:28
|
Message: A new issue has been created in JIRA. --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-260 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-260 Summary: hbm2java generates a null for the finder method of type "integer" Type: Patch Status: Unassigned Priority: Major Project: Hibernate2 Components: toolset Versions: 2.0.2 Assignee: Reporter: Christian Hargraves Created: Thu, 14 Aug 2003 8:34 AM Updated: Thu, 14 Aug 2003 8:34 AM Environment: N/A Description: When using a property or id type of "integer" and the finder-method meta tag, the hbm2java FinderRenderer.java file generates a finder method with a null in the Session.find(query,bindVar,varType) "varType" parameter. I fixed this by adding the following line: hibType.put("Integer", "Hibernate.INTEGER"); to the hibType variable in FinderRenderer.java --------------------------------------------------------------------- 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 |