return statement for newPersistentObject
Brought to you by:
joncrlsn
The code that is generated by the 2.0 beta4 SourceGen
for the Domain objects does not contain the
PersistSuffix specified in the properties file. If you
include a PersistSuffix such as "Persist" - the code that
is generated for the Domain object in the
newPersistentObject method does not include it in the
return statement that is generated. currently in
SourceGen.java generateDomainClass method :
meth.getSourceCode().add(
"return new " + this.className(tableName)
+ "();");
Should be:
meth.getSourceCode().add(
"return new " + this.className(tableName) +
i_persistSuffix + "();");