[日志]
Customer 1--0..n CustomerAddress
countBy("select count(a.customer) from com.fsd.domain.CustomerAddress as a where a.customer.name like ? and a.tel like ? and a.customer.station=?", new Object[]{name,tel,getContext().getStationId()});
产生代码:
Hibernate: select count(customer1_.id) as x0_0_ from t_customer_address customerad0_, t_customer customer1_ where customerad0_.customer_id=customer1_.id and ((customer1_.name like ? and customerad0_.customer_id=customer1_.id)and(customerad0_.tel like ? )and(customer1_.station_id=? and customerad0_.customer_id=customer1_.id))
检查数据连接
泄漏处: getSession().createQuery(...)
页面油漆标签
获取el表达式值: org.apache.taglibs.standard.tag.el.core.ExpressionUtil#evalNotNull