AssignConnect(nil) commited?

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
M.Schmidt-E.
Posts: 15
Joined: Fri 30 Jan 2009 11:04

AssignConnect(nil) commited?

Post by M.Schmidt-E. » Fri 30 Jan 2009 11:14

Hello,
i create a global OraSession and Start a transaction.
Session:= TOraSession.Create()
Session.StartTransaction.
...
it's works fine.

in a function i create a new session and use assignConnect.
NewSession:= ToraSession.Create().
NewSession.AssignConnect(Session);
...
it's works fine, but after
NewSession.AssignConnect(nil)
Session commited the transaktion.

what is wrong?

thanks
Mathias

Edit: I use D2009 and Odac 6.70.0.42

Post Reply