How to intercept ORA-28011 with ODAC?

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Blindfold
Posts: 1
Joined: Tue 24 Feb 2009 07:47
Contact:

How to intercept ORA-28011 with ODAC?

Post by Blindfold » Tue 24 Feb 2009 08:10

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.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 26 Feb 2009 09:53

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.

Post Reply