|
From: <leg...@at...> - 2003-08-14 13:48:59
|
The following issue has been updated:
Updater: Christian Hargraves (mailto:en...@ho...)
Date: Thu, 14 Aug 2003 8:39 AM
Changes:
Attachment changed to hbm2java.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-260&page=history
---------------------------------------------------------------------
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:39 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
|