AssignConnect(nil) commited?
Posted: 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
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