findByExample
public List findByExample(VcxZyfymx instance) {log.debug("finding VcxZyfymx instance by example");
try {
List results = getHibernateTemplate().findByExample(instance);
log.debug("find by example successful, result size: "
+ results.size());
return results;
} catch (RuntimeException re) {
log.error("find by example failed", re);
throw re;
}
}
Hibernate封装的这个方法怎样加sql语句?