This discussion is archived
1 Reply Latest reply: Aug 20, 2008 10:43 PM by 843833 RSS

Design Choices in a Web-only Application Using Java Persistence - Question!

843833 Newbie
Currently Being Moderated
Hi,

Is it possible to use both container and application managed entity manager factories in the same web-only application?

It is not working for me....

I have an application that is using container managed (injected) emf and also an application managed emf. The behavior I see is that updates from the application managed emf are not being persisted to the database but it can query properly. The container managed emf works normally.

However, there is no error for the application managed emf. Maybe this is because I am using hypersonic in my test environment?