Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/hibernate/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Java JBAS014134:EJB调用失败_Java_Hibernate_Jboss6.x - Fatal编程技术网

Java JBAS014134:EJB调用失败

Java JBAS014134:EJB调用失败,java,hibernate,jboss6.x,Java,Hibernate,Jboss6.x,参数ct.expEcon.id=:idEE中有错误。在后面加空格是不正确的:。您需要通过这种方式使用参数 ct.expEcon.id=:idEE 请使用更合理的参数名称idEE是一个不好的选择,因为有两个相邻的大写字母E 参数ct.expEcon.id=:idEE中有错误。在后面加空格是不正确的:。您需要通过这种方式使用参数 ct.expEcon.id=:idEE 请使用更合理的参数名称idEE是一个不好的选择,因为有两个相邻的大写字母E List results= sessionFactory

参数
ct.expEcon.id=:idEE
中有错误。在
后面加空格是不正确的:
。您需要通过这种方式使用参数

ct.expEcon.id=:idEE


请使用更合理的参数名称
idEE
是一个不好的选择,因为有两个相邻的大写字母
E

参数
ct.expEcon.id=:idEE
中有错误。在
后面加空格是不正确的:
。您需要通过这种方式使用参数

ct.expEcon.id=:idEE

请使用更合理的参数名称
idEE
是一个不好的选择,因为有两个相邻的大写字母
E

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]