In Hibernate 4 in the EAP 6 I am receiving Cannot create TypedQuery for query with more than one return
Issue
- I am experiencing the following bug: https://hibernate.onjira.com/browse/HHH-6304
javax.ejb.EJBException: java.lang.IllegalArgumentException: Cannot create TypedQuery for query with more than one return
at org.jboss.as.ejb3.tx.CMTTxInterceptor.handleExceptionInOurTx(CMTTxInterceptor.java:165)
...
Caused by: java.lang.IllegalArgumentException: Cannot create TypedQuery for query with more than one return
at org.hibernate.ejb.AbstractEntityManagerImpl.createNamedQuery(AbstractEntityManagerImpl.java:697)
at org.jboss.as.jpa.container.AbstractEntityManager.createNamedQuery(AbstractEntityManager.java:79)
Environment
- JBoss Enterprise Application Platform (EAP) 6.0
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.