Hi,
I'm having trouble with the following (EJB alpha 6):
entityManager.find(Sale.class, 100L);
ends up throwing OutOfMemory error where as
Query query = entityManager.createQuery(
"select sale from Sale sale where saleId = 100");
List list = query.getResultList();
list.get(0);
is OK ??
The related objects are loaded up as expected with the OK example.
I've been working with EJB3 now for 4 months.
This seems only to cause a problem due to the number of child objects the Sale
loads up. I.e. If I remove a few it starts working.
Any ideas ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952010#3952010
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3952010
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user