users@glassfish.java.net

Re: changing JDBC resources programmatically

From: <glassfish_at_javadesktop.org>
Date: Fri, 14 Dec 2007 10:10:38 PST

>
> What's the least painless way to make that take
 You mean the least painful way, right? ;)

I think you are not changing the JNDI names of the resource. It's just that the
connection pool points to a different database now. If that's the case, restart
of the *application* (e.g. disabling the app followed by enabling it) should
work. I don't think you need to restart the server.

- Kedar
[Message sent by forum member 'km' (km)]

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