[英]JBAS014360: EJB 3.1 FR 4.3.14.1 concurrent access timeout on org.jboss.invocation.InterceptorContext
[英]JBAS014134: EJB Invocation failed
List results= sessionFactory.getCurrentSession().createQuery("from org.gencat.gimah.dao.GimahCobramentTargeta ct where ct.expEcon.id=: idEE and ct.cobrament is null ")
.setParameter("idEE", idEE)
.list();
JBAS014134: EJB Invocation failed on component Expedients for method public abstract java.util.List org.gencat.gimah.model.Expedients.doBuscarDetallExpeconAPartirGestio(long,java.lang.String,boolean) throws org.gencat.gimah.exception.GimahExcepcio,java.rmi.RemoteException: javax.ejb.EJBException: org.hibernate.HibernateException: could not locate named parameter [idEE]
参数ct.expEcon.id=: idEE
存在错误。 这是不正确的加一个空格后:
。 您需要通过这种方式使用参数
ct.expEcon.id = :idEE
并且,请使用更合理的参数名称。 idEE
是一个错误的选择,因为两个相邻的大写字母E
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.