users@glassfish.java.net

Re: JPA and Glassfish

From: Mitesh Meswani <Mitesh.Meswani_at_Sun.COM>
Date: Tue, 24 Mar 2009 17:39:07 -0700

You will need to work with the second level cache to ensure desired
result. Please see
http://weblogs.java.net/blog/guruwons/archive/2006/09/understanding_t.html
for more details.

glassfish_at_javadesktop.org wrote:
> 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
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>