ODAC 7.0.0.1 StartTransaction error!

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
xalion
Posts: 124
Joined: Fri 20 May 2005 10:08

ODAC 7.0.0.1 StartTransaction error!

Post by xalion » Tue 28 Sep 2010 08:08

ODAC 7.0+delphi 2010 in direct mode.

when:
orasession.StartTransaction.
show error ORA-1036

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Tue 28 Sep 2010 11:30

Hello

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

xalion
Posts: 124
Joined: Fri 20 May 2005 10:08

Post by xalion » Wed 29 Sep 2010 07:40

Can you give me a hot fox code.
I can't run my application now!

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Wed 29 Sep 2010 13:30

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.

xalion
Posts: 124
Joined: Fri 20 May 2005 10:08

Post by xalion » Thu 30 Sep 2010 00:50

please Email me to xalion at xasyu.cn.
Thank you

bork
Devart Team
Posts: 649
Joined: Fri 12 Mar 2010 07:55

Post by bork » Fri 01 Oct 2010 14:43

Hello

I sent the fix by E-mail.

xalion
Posts: 124
Joined: Fri 20 May 2005 10:08

Post by xalion » Sat 02 Oct 2010 13:46

I got it ,thank you!

Post Reply