This content has been marked as final.
Show 2 replies
-
1. Re: jboss7 and it's included hibernate giving "Cannot create TypedQuery for query with more than one return" error
riggs Dec 1, 2011 4:58 PM (in response to robertwalker)Robert, take a look at this issue
https://hibernate.onjira.com/browse/HHH-6695
The bug seems not to be fixed with named queries.
-
2. Re: jboss7 and it's included hibernate giving "Cannot create TypedQuery for query with more than one return" error
robertwalker Dec 2, 2011 11:10 AM (in response to riggs)thanks Thomas for this link, saved me some time spinning my wheels. I tried to move to eclipselink just to test that I could do a TypedQuery in jboss7 with a JPA2 persistence provider but that ended up being a mess, not even sure it works from what i read. anyhow, this stinks, seems like all these technologies (jpa2 and hibernates support of it) have been out for a while, something like this would be ironed out. (I am now assuming it is not really a jboss7 issue). i did post on hibernate forums in case anyone had some insight (https://forum.hibernate.org/viewtopic.php?f=1&t=1013637)