Thanks for the update. Since the work on these issues hasn’t been addresses yet I will mention another thing. This may be implied as part of the rev-eng process but I’ll say it anyways.
I mentioned the generated domain POJO classes in the original post, but this update I believe should also effect the hibernate DAO objects that are generated. Currently the class files have a bunch of generated methods like this
public List findByProperty(String propertyName, Object value) {
log.debug("finding AdjustmentType instance with property: "
+ propertyName + ", value: " + value);
try {
String queryString = "from AdjustmentType as model where model."
+ propertyName + "= ?";
return getHibernateTemplate().find(queryString, value);
} catch (RuntimeException re) {
log.error("find by property name failed", re);
throw re;
}
}
public List findAll() {
log.debug("finding all AdjustmentType instances");
try {
String queryString = "from AdjustmentType";
return getHibernateTemplate().find(queryString);
} catch (RuntimeException re) {
log.error("find all failed", re);
throw re;
}
}
etc.....
The return types on those generated methods should also have Generics declarations as well
Thanks