[jboss-user] [EJB 3.0] - query.getResultList(); <= contains the same instance X times
fbadt
do-not-reply at jboss.com
Thu Nov 9 13:56:06 EST 2006
The code has a call to "query.getResultList();" The returned List has 10 entries for the 10 rows in the database; however, Each of the 10 entries in the List is the same instance reference. This is the first entered row in the DB. There should be 10 difference references to 10 EJBs. What could cause this? I don't see any open or closed bugs on this issue. JBoss 4.0.4 and 4.0.5 give the same behavior. Note: the rows are populated by a stored procedure in the same transaction as an insert is made to a "request" table.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3984629#3984629
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3984629
More information about the jboss-user
mailing list