org.hibernate.tool.hbm2x.ExporterException: Error while processing Component: scdb.TbDispatcherId with template pojo/Pojo.ftl
Error while processing Component: scdb.TbDispatcherId with template pojo/Pojo.ftl
org.hibernate.tool.hbm2x.ExporterException: Error while processing Component: scdb.TbDispatcherId with template pojo/Pojo.ftl
Error while processing Component: scdb.TbDispatcherId with template pojo/Pojo.ftl
freemarker.core.InvalidReferenceException: Expression pojo.generateManyToOneAnnotation is undefined on line 13, column 3 in pojo/Ejb3PropertyGetAnnotation.ftl.
Expression pojo.generateManyToOneAnnotation is undefined on line 13, column 3 in pojo/Ejb3PropertyGetAnnotation.ftl.
在進行hibernate的逆向工程時,報錯這個錯誤 。
解決辦法 :
在進行逆向工程時,選中這兩個(一個xml一個Domain code)就好了。