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 ?