标签:
注意:
If you have tables with foreign key ift‘s necessary to alter the template src/test/resources/appfuse/model/Ejb3PropertyGetAnnotation.ftl
<#lt/>${pojo.generateJoinColumnsAnnotation(property, cfg)} instead of
<#lt/>${pojo.generateJoinColumnsAnnotation(property)}
to generate @ManyToOne anotations
(It‘s necessary to do mvn appfuse:copy-templates first)
Don‘t forget to change this to read the identifier field from the other pojo
<form:select ... itemLabel="label" itemValue="value" >
in your WEB-INF/pages/entityform.jsp
标签:
原文地址:http://www.cnblogs.com/fengyexjtu/p/4230089.html