[jboss-user] [EJB 3.0] - EntityManager Find Method Throws EntityNotFoundException

david.l.small do-not-reply at jboss.com
Thu Mar 8 07:32:41 EST 2007


Hi, we're using 4.0.4.GA and noticed that the EntityManager.find method is throwing a EntityNotFoundException when the key is not found for an entity. Prior releases returned a NULL. What behavior can I expect going forward (4.0.5, 4.2, 5.x, ...) so that I can code my handling accordingly?

Thanks

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4026219#4026219

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4026219



More information about the jboss-user mailing list