http://java.sun.com/javaee/5/docs/api/
As per the API specification, the getSingleResult() method should throw a
NoResultException if an entity cannot be found. You are simply seeing the original
exception chained. To execute without throwing an exception you will need to use the
anonymous wrote :
| getResultList()
|
method.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4089552#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...