|
From: <leg...@at...> - 2003-08-14 14:36:21
|
Message:
The following issue has been closed.
Resolver: Max Rydahl Andersen
Date: Thu, 14 Aug 2003 9:34 AM
fixed ;)
---------------------------------------------------------------------
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: Closed
Priority: Major
Resolution: FIXED
Project: Hibernate2
Components:
toolset
Fix Fors:
2.1
Versions:
2.0.2
Assignee:
Reporter: Christian Hargraves
Created: Thu, 14 Aug 2003 8:34 AM
Updated: Thu, 14 Aug 2003 9: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
|