[jboss-user] [EJB 3.0] - Re: entityManager.find() returns null
ALRubinger
do-not-reply at jboss.com
Tue Sep 19 12:19:41 EDT 2006
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
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3972657#3972657
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3972657
More information about the jboss-user
mailing list