[jboss-user] [IronJacamar] - 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
Jeff Zhang
do-not-reply at jboss.com
Sat Jan 5 18:32:52 EST 2013
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&containerType=14&container=2098]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20130105/4e29a2c2/attachment.html
More information about the jboss-user
mailing list