tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ict <>
Subject Re: Lazy loading from remote context
Date Fri, 07 Oct 2016 15:34:02 GMT
Maybe I'm wrong, but I have already tried so unsuccessfully...

Method in PersonEntityManager:
@Override public Person getPerson(int id){return personPu.find(Person.class,

Method in remote SessionBean:
 pubic void aMethod(){ 
     Person person = PersonEntityManagerRemote.getPerson(12);//THIS WORK
     List<EmbeddCustomClass> surnames = person.getSurnames();//THIS NOT LAZY

View this message in context:
Sent from the TomEE Users mailing list archive at

View raw message