From: Max R. A. (JIRA) <no...@at...> - 2006-07-07 11:18:56
|
[ http://opensource.atlassian.com/projects/hibernate/browse/HBX-544?page=all ] Max Rydahl Andersen closed HBX-544: ----------------------------------- Fix Version: 3.1beta5a Resolution: Fixed String should be java.lang.String ...and with freemarker you should get a better message. Reopen or create a new issue if it is not so. > Non-primitive type for query-param causes Exception > --------------------------------------------------- > > Key: HBX-544 > URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-544 > Project: Hibernate Tools > Type: Bug > Components: hbm2java > Versions: 3.1beta3 > Reporter: George Lindholm > Fix For: 3.1beta5a > > > <query name="ca.db.NcContact.findGroupMembers"> > <query-param name="group2" type="String"/> > </query> > gives me: > Exception while generating code > Reason: > org.hibernate.tools.hbm2x.ExporterException: > MethodInvocationException while processing template daohome.vm. > Invocation of method 'asFinderArgumentList' in class > org.hibernate.tool.hbm2x.Cfg2JavaTool threw exeption class > java.lang.NullPointerException: null -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira |