Hi everybody,
I use the following target to generate daos:
<target name="hbm2dao">
<hibernatetool destdir="${src}">
<configuration configurationfile="${src}/hibernate.cfg.xml"/>
<hbm2dao/>
</hibernatetool>
</target>
Only a few daos get generated when i get the exception:
[hibernatetool] An exception occurred while running exporter #2:hbm2dao (Generates a set of DAOs)
[hibernatetool] To get the full stack trace run ant with -verbose
[hibernatetool] org.hibernate.tool.hbm2x.ExporterException: Error while processing template daohome.ftl
[hibernatetool] freemarker.template.TemplateModelException: No signature of method getJavaTypeName matches (java.lang.Object,java.lang.Boolean)
I use hibernate3.1, HibernateTools-3.2.0.beta6 and oracle 10g
Any idea how to solve this?
Thanks
|