I try to provide in my application possibility to change password if user is in grace period. But geting OCI_INVALID_HANDLE
Steps to reproduce:
drop TOraSession on form set ConnectString to user with grace period and OnInfoMessage event to
Code: Select all
procedure TForm1.OraSession1InfoMessage(Sender: TObject; Error: EOraError);
begin
if Error.ErrorCode=28002 then
OraSession1.ChangePassword('test');
end;
ODAC 6.90.0.57 for RAD Studio 2007