Hi Matthew! Now I'm back on my notebook. What transaction mechanism are you using? JTA or ResourceLocal? And what technology to control the transactions? EJBs? CDI? Spring?
It boils down to be more a question about appliction architecture than about OpenJPA, but still very important to cover. So just go ahead, I'm pretty sure we can help you. LieGrue, strub > Am 24.10.2016 um 10:34 schrieb Matthew Broadhead > <[email protected]>: > > HI, I am using TomEE 7.0.1 and I just switched from Plume to Plus. I was > using eclipselink and now I am converting to OpenJPA. When I fetch a set of > entities and then try to iterate through their associations in JSF the list > is empty. in eclipselink they were populated by default. if i loop through > the entities in Java before displaying in JSF then they are populated (i > guess they get lazy loaded). is there a setting that needs to be changed? > like generating with all associations as eager or setting a flag in > persistence.xml? what would give the same default as eclipselink? seemed > like an easy question but i could not find anything by searching.
