users@glassfish.java.net

JPA and Glassfish

From: <glassfish_at_javadesktop.org>
Date: Tue, 24 Mar 2009 14:43:41 PDT

Hi to all,

I have the following scenario.

There are two different applications access Oracle DB:
1) the first one is a Java EE application using glassfish (EJB/JPA)
2) the second one is a "fat" java application directly accessing oracle (java JDBC) without glassfish.

The problem is that data inserted/updated by the second application, is not "seen" by the first one.

Is there some property to set in order to force the sync between persistence unit/entity manager used by EJB and the underlying data? Or there are some other stuff to do via coding?

thanks to all
[Message sent by forum member 'alexbill' (alexbill)]

http://forums.java.net/jive/thread.jspa?messageID=338823