This content has been marked as final.
Show 2 replies
-
1. Re: Changed behaviour of getSingleResult?
colineberhardt Mar 16, 2007 12:39 PM (in response to heinrich)I cannot comment on what the behaviour was preior to the latest version of JBoss. However it would appear that it is currently operatibng as per the spec:
http://java.sun.com/javaee/5/docs/api/javax/persistence/Query.html#getSingleResult()
Therefore it is behaving as expected!
Regards,
Colin E. -
2. Re: Changed behaviour of getSingleResult?
mbrunnert Mar 22, 2007 6:51 AM (in response to heinrich)I have also notice a diffrence. For results containing only one null result, the old version thew a NoResultFoundException, but 4.0.5GA doesn't. Is this behaviour also expected?