简体   繁体   English

JBAS014134:EJB调用失败

[英]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]

There is an error in the parameter ct.expEcon.id=: idEE . 参数ct.expEcon.id=: idEE存在错误。 It is incorrect to put a space after : . 这是不正确的加一个空格后: You need to use parameters by this way 您需要通过这种方式使用参数

ct.expEcon.id = :idEE

And, please, use more reasonable parameter's names. 并且,请使用更合理的参数名称。 idEE is a bad choice, because of two neighbour capital letters E . idEE是一个错误的选择,因为两个相邻的大写字母E

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 JBAS014360:org.jboss.invocation.InterceptorContext上的EJB 3.1 FR 4.3.14.1并发访问超时 - JBAS014360: EJB 3.1 FR 4.3.14.1 concurrent access timeout on org.jboss.invocation.InterceptorContext 确定远程 EJB 调用失败的原因 - Determining cause for failed remote EJB invocation 通过 java.security.AccessControlException 对组件的 EJB 调用失败 - EJB Invocation failed on component by java.security.AccessControlException EJB 调用失败... javax.ejb.EJBTransactionRolledbackException: javax.persistence.TransactionRequiredException - EJB Invocation failed ... javax.ejb.EJBTransactionRolledbackException: javax.persistence.TransactionRequiredException Wildfly远程EJB调用 - Wildfly Remote EJB Invocation 使用数据库登录模块的Jboss Secure Web服务错误:EJB调用失败 - Jboss Secure web service error by using the database login module: EJB Invocation failed 远程EJB调用wildfly ClassNotFoundException - Remote EJB Invocation wildfly ClassNotFoundException JBAS010441:无法为驱动程序加载模块 [org.postgresql] - JBAS010441: Failed to load module for driver [org.postgresql] JBAS018733:无法处理子部署的阶段PARSE - JBAS018733 : Failed to process phase PARSE of subdeployment JBAS011445:无法使用WildFly获取持久性提供程序的适配器 - JBAS011445: Failed to get adapter for persistence provider using WildFly
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM