According to the latest draft spec the Query interface, method getSingleResult should throw a EntityNotFoundException, in the CVS head implementation it is ObjectNotFoundException. A simple rename seems to fix the problem.
-- Dave Smith CANdata Systems Ltd 416-493-9020 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-Development mailing list JBoss-Development@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-development