> >   1. What is the detachment configuration settings? 
> >      <property name="openjpa.DetachState" value="?"/>
> >   
> I don't know. I use a vanilla WebLogic 10.3 server and deploy a standard 
> ear test application (with EJB3 session and entity beans)...

  In your ear test application, there exists somewhere a
META-INF/persistence.xml file which defines the metadata and JPA provider's
configuration. The property configuration 'openjpa.DetachState' should be
specified in that file. The application should decide appropriate detachment
configuration (it is important for the type of use case you are describing).
The choices and its impact on how OpenJPA detach/attach mechanics will work
is documented in [1]

[1]
http://openjpa.apache.org/builds/latest/docs/manual/manual.html#ref_guide_detach


> I couldn't find it in 10.3 sample apps (ok, I didn't search for a long 
> time ;-)
> What is the name of this app?

Look further, you effort will be useful ;) It is in WLS 10.3. I do not
recall (or perhaps never knew) what this application is called but look for
samples on EJB3 or ask BEA/Oracle support forum. 

-- 
View this message in context: 
http://n2.nabble.com/Lazy-initialisation-questions-tp1662940p1664716.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to