|
Thanks for the quick reply... I changed to the following dependencies (the latest on public maven repos): <dependency> <dependency> I now get a: java.lang.NoClassDefFoundError: org/hibernate/engine/query/sql/NativeSQLQueryReturn Thanks, Alfie. you need to use the latest hibernate (or at least the hibernate that comes with the tools). Could we take this discussion to the forums until we actually figure out that a bug exists ? I suspect this issue has gone away in newer builds. The hbm2java task certainly got further than before before it hit the noclassdef error. I'd like to help with more testing but I don't have time to get the latest tools, install in my maven repo with any new dependencies, etc, etc. I also have a slight worry that the latest tools beta runs against Hibernate 3.2 which is itself in beta so even if it does fix the bug we may be stuck with it on the current released version. And I have workarounds in place for it. I'll start in the forum next time. Apologies. Thanks! you should just use the hibernate 3.2 builds with the codegen; not needed for running your apps. assume fixed since no further reporting. would though be interesting to hear if maven has challenges in using e.g. hibernate 3.1.3 for runtime and hibernate3.2 for the codegen parts ? This issue still exists using hibernate 3.2.2.ga |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
please try and use a more uptodate version and tell me if the problem persists.
(because i don't understand why all those things should affect the tools)