How To Handle ORA-28001 and Use OCINewPassword

(Doc ID 1603900.1)

Last updated on AUGUST 25, 2017

Applies to:

JDBC - Version 11.2.0.1.0 and later
Information in this document applies to any platform.

Goal

Simple demonstration of the handling of an ORA-28001  and the JDBC/OCIconnection property OCINewPassword.

Database setup: 

Create or alter a database user to cause a simple login to fail with ORA-28001:

 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms