[jboss-user] [EJB 3.0] - Re: entityManager.find() returns null

epbernard do-not-reply at jboss.com
Tue Sep 19 19:39:36 EDT 2006


"ALRubinger" wrote : Some of my coworkers have reported similar behaviour of a sporadic nature...simple calls to EntityManager.find(Class,id) return null when the object is clearly in the DB.  They've also stated that using EntityManager.createQuery("SELECT obj FROM ClassName obj WHERE obj.id=?") will sometimes return the object immediately after the finder fails.
  | 
  | Anyone have an easily deployable use case that reliably fails this query?  Having problems believing that something as trivial as a "find by id" method has a bug.
  | 
  | S,
  | ALR

I find it hard to believe.

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

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



More information about the jboss-user mailing list