users@glassfish.java.net

Re: JPA issue after republish

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Fri, 05 Jun 2009 17:09:26 -0700

Your entities should be reloaded after you redeploy your app without any need
for a server restart (if this is what you mean by 'republish'). If you are
talking about some other situation, please describe it in more details.

Which GF version are you using?

thanks,
-marina

glassfish_at_javadesktop.org wrote:
> Im having a slight issue with JPA/TopLink after republishing my application to the server: JPA doesnt seem to remember my entities anymore. Getting "unknown entity .." when persisting entities and ClassCastException when downloading entities from DB.
>
> Everything works perfectly if I choose to stop/start server manually, but as soon as I publish any changes all my JPA-logic fails.
>
> Any suggestions?
> [Message sent by forum member 'flipp' (flipp)]
>
> http://forums.java.net/jive/thread.jspa?messageID=348882
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>