2007/3/19, Max Rydahl Andersen <max...@re...>:
>
> 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 BasicPOJOClass.java is
not needed but i didn't understand how it does work getJavaTypeClass
in that class so i was more conservative (you surely know how to cut
it and retain only the version of Cfg2JavaTool.java).
I have 2 more question, if you have time to respond me:
1) Now that compiles, can i trust this interface? Is there some usage
documentation about it (can't found it in hibernate manuals)?
2) I see that a "List findAll()" method is not provided (sort of
"select * from Table"). How can i obtain it in the right (and quick)
way?
For the patch, if it's ok, license is obviously lgpl and i give the
copyright to you.
Thanks,
Francesco
|