[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-745?page=co...
]
Max Rydahl Andersen commented on HBX-745:
-----------------------------------------
jdk5 is supported yes, but cannot be used in the code since we need to run at jdk 1.4
Query Parameter type not recognized (return null)
-------------------------------------------------
Key: HBX-745
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-745
Project: Hibernate Tools
Type: Bug
Components: hbm2java
Versions: 3.2beta7
Reporter: Michelle Baert
Attachments: TestProject.zip
I declared a query in a hbm.xml, with a parameter :
<query-param name="pattern" type="String" />
When I try to generate code through hbm2dao (or templates like dao\daohome.ftl),
Cfg2JavaTool.asFinderArgumentList() returns <null>. as argument type
I found no details in documentation about query element attributes.
Anyway, when the type name is not recognized, should not an exception be thrown instead
of *silently* returning <null> ?
If I specify type="java.lang.String", the same string is returned as argument
type, where I'd prefer simply "String".
I didn't try other types yet.
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira