Seems that the objects no longer have the association with valid
session, so either the Session or PersistenceManager should be kept
around to fill the objects in upon use. Forcing eager load could also be
used I think.
Alex.
Just noting that this can be done on the configuration level,
Title: Vincent LAUGIER
Hello,
we try to do the following on our php/EJB3 application :
find a given client from its lastname using a stateless bean ()
load his orders using the getter
[code]
$clients = $client_eao-findBySample($sample_client,false,false);
Hello,
we try to do the following on our php/EJB3 application :
• find a given client from its lastname using a stateless bean ()
• load his orders using the getter
[code]
$clients = $client_eao-findBySample($sample_client,false,false);
var_dump($clients[0]-getOrders());
Alex wrote (2009-11-24 06:01):
Hello,
we try to do the following on our php/EJB3 application :
• find a given client from its lastname using a stateless bean ()
• load his orders using the getter
[code]
$clients = $client_eao-findBySample($sample_client,false,false);