Jeff Zhang [
https://community.jboss.org/people/jeff.zhang] created the discussion
"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"
To view the discussion, visit:
https://community.jboss.org/message/788165#788165
--------------------------------------------------------------
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
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
[
https://community.jboss.org/message/788165#788165]
Start a new discussion in IronJacamar at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]