[Hibernate] Problems compiling hbm2dao generated code

2007-03-18 Thread Francesco Pretto
I'm sorry to post on dev list for this that probably is a user problem, but i got no feedback on user forum, and google has no answer for this strange problem. Hibernate version: 3.2.2 JDK: 1.4 The problem: i was able to generate and compile pojos files with hbm2java ant target but trying to comp

Re: [Hibernate] Problems compiling hbm2dao generated code

2007-03-19 Thread Francesco Pretto
2007/3/19, Max Rydahl Andersen <[EMAIL PROTECTED]>: > answered in tools forum many times before. > > use jdk5 to compile or use latest version of tools. > > /max > > Compiled latest version from http://anonsvn.jboss.org/repos/hibernate/branches/Branch_3_2/HibernateExt (where appears to be the late

Re: [Hibernate] Problems compiling hbm2dao generated code

2007-03-19 Thread Francesco Pretto
2007/3/19, Max Rydahl Andersen <[EMAIL PROTECTED]>: > > I'ts always been the case. Feel free to submit a patch; but the dao > generation > has and still is considered "in progress". > > /max > Ok, i can take a look at the dao generation templates (i extremely need it). If i succeed, i can surely s

Re: [Hibernate] Problems compiling hbm2dao generated code

2007-03-19 Thread Francesco Pretto
2007/3/19, Max Rydahl Andersen <[EMAIL PROTECTED]>: jdk5 does autoboxing, older jdk's does not. So int into an Integer fails. (please note i'm an unexperienced java dev) I produced the patch (using "svn diff"), at least it compiles now. Probably the same function toWrapperClass() in BasicPOJ