Initializing JPA proxy/collection

7 views
Skip to first unread message

Amraoui Marouane

unread,
Jan 16, 2015, 3:18:23 PM1/16/15
to gran...@googlegroups.com
Hi

I have this data structure 

Class  EntityA  {

long id;

@OneToOne (Lazy)
EntityB b;

EntityB getB() {
  return b;
}


}

1. I send an entityA to flex without any exception ( no lazy loading exception)

2. From Flex, when i try to access (using action script)  to entityA.getB() it return always null value. 
       -->  GraniteDS not initialize the lazy association tranprently when i call entityA.getB() ?
       -->  How can initialize this lazy association from flex manualy ?

Thx in advance 
Reply all
Reply to author
Forward
0 new messages