Im using hibernate to connect to a oracle database in my application. When the password for the oracle DB is changed, and when the application keeps hitting the DB for connection with the expired password, the DB gets locked after 3 failed tries. Is there a way to disable reconnecting to the DB automatically from the application? like how we use for MySql autoReconnect=true.
Im using hibernate to connect to a oracle database in my application. When the
Share
Into hibernate configuration file you can use following code .I think it will solve your problem