Page 1 of 1

ODAC 7.0.0.1 StartTransaction error!

Posted: Tue 28 Sep 2010 08:08
by xalion
ODAC 7.0+delphi 2010 in direct mode.

when:
orasession.StartTransaction.
show error ORA-1036

Posted: Tue 28 Sep 2010 11:30
by bork
Hello

Thank you for the information. This bug is fixed. This fix will be included in the next ODAC build.

Posted: Wed 29 Sep 2010 07:40
by xalion
Can you give me a hot fox code.
I can't run my application now!

Posted: Wed 29 Sep 2010 13:30
by bork
Hello

If you have ODAC with source code, then please provide me E-mail where I can send fixed file.

If you don't have ODAC with source code, then you can add the following code in the OnAfterConnection event of your TOraSession:

Code: Select all

procedure TForm1.OraSession1AfterConnect(Sender: TObject);
begin
  if TOraSession(Sender).OracleVersion = '' then
    ShowMessage('Oracle version is not defined');
end;
It is temporary workaround until new version will be released.

Posted: Thu 30 Sep 2010 00:50
by xalion
please Email me to xalion at xasyu.cn.
Thank you

Posted: Fri 01 Oct 2010 14:43
by bork
Hello

I sent the fix by E-mail.

Posted: Sat 02 Oct 2010 13:46
by xalion
I got it ,thank you!