Page 1 of 1

How to intercept ORA-28011 with ODAC?

Posted: Tue 24 Feb 2009 08:10
by Blindfold
Greetings,

Is there any possibility to intercept "ORA-28011: the account will expire soon; change your password now" and "ORA-28002: The password will expire within %s days" exception during connection to database?
TOraSession doesn't raise then at all after login. They just pass by. But I DO really need to worn a user that his password is in grace period, or will enter it soon.

Please advice.

Posted: Thu 26 Feb 2009 09:53
by Plash
We'll consider a possibility of adding an event to TOraSession where these error messages will be passed in one of the next ODAC builds.