users@glassfish.java.net

Re: Same app twice using JPA

From: Marina Vatkina <Marina.Vatkina_at_Sun.COM>
Date: Thu, 21 Jun 2007 13:15:07 -0700

In this case, you are probably hitting TopLink issue (that is marked as a
feature request) https://glassfish.dev.java.net/issues/show_bug.cgi?id=1575.

regards,
-marina

Edson Carlos Ericksson Richter wrote:
>
>> Why can't you have 2 different PU names in 2 different persistence.xml
>> files (that reference the same Entities - this shouldn't be the problem)?
>>
>> thanks,
>> -marina
>
> Actually, I don't have 2 different persistence.xml... It's only 1 app
> being deployied twice - only connection setting is changed on final WAR,
> just before deployment (much like if I open the WAR with WinZip, edit
> Persistence.xml to set new connection settings, then update WAR).
>
>
> Regards,
>
> Edson Richter
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net