Thanks Chris, now I see the problem.
So my approach is not correct!
Should it be:

EntityManagerFactory --  ServletContext[by a filter or listener]
EntityManager            --  page [by request or session]

Can anyone point me the right direction on the ServletContext[by a filter or
listener] implementation example?

Thanks again,

Gilberto

-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/InvalidStateException-tp210537p5051257.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to