JBoss Community

Re: Feature request:Add an interface to allow end-user to have a second chance to create a normal database connection after failling to get connection because of database password error

created by Jeff Zhang in IronJacamar - View the full discussion

Yaguo

it seems JDBC API hasn't listener to know when DB change the password. Some vendor provide API in their JDBC driver, like http://docs.oracle.com/cd/E14072_01/java.112/e10589/dbchgnf.htm.

Use them and try to evict old connection and get new connection by new password. Do you think it is an approach?

Reply to this message by going to Community

Start a new discussion in IronJacamar at Community