Thank you an now I can configure it from my code.
On Wed, Aug 5, 2009 at 10:00 PM, <glassfish_at_javadesktop.org> wrote:
> You can override the connection properties in persistence.xml by hand, by
> setting some provider-specific properties.
>
> http://forums.java.net/jive/message.jspa?messageID=269950
>
> In fact you don't want your persitence.xml file to hold user names or
> passwords. You usually deliver it within an ear without that information,
> and then you set some properties in a Map and use
> EntityManager.createEntityManager( themap) to retrieve a working
> EntityManager.
> [Message sent by forum member 'vieiro' (vieiro)]
>
> http://forums.java.net/jive/thread.jspa?messageID=359038
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>