OCI_INVALID_HANDLE TOraSession.ChangePassword
Posted: Mon 19 Apr 2010 21:38
Hello,
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
When orasession1.connect is done on user who has grace period the password is changed but an error is rised as well.
ODAC 6.90.0.57 for RAD Studio 2007
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