[jboss-user] [EJB 3.0] - MDB & EntityManager

S0d0 do-not-reply at jboss.com
Tue Dec 19 04:25:37 EST 2006


Hi,

When I use injected entity manager in MDB to fetch data from database
using information provided in jms message. 

Do I have to call entityManager.clear() at the end of onMessage so 
that all Entities become detached and they can be handled by gc?


Br,

   Juha Moisio



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

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



More information about the jboss-user mailing list