Savepoint problem

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
scw2hi
Posts: 56
Joined: Fri 07 Jan 2005 13:06
Location: Hildesheim

Savepoint problem

Post by scw2hi » Tue 26 Jan 2010 14:15

Hi,

I´m using ODACs 6.90.0.54 with RAD Studio 2010 (C++)

Code: Select all

main->ora_session->StartTransaction();

otb_data->Edit();

This creates a savepoint named "LOCK_otb_data"

Then I change some data related to the currently locked entry
In previous version I was able to overwrite the savepoint "LOCK_otb_data"
My problem now this does not work any longer and posting the original edited object rolls back to savepoint.
Afterwards my edits are gone.

Can you help?!

scw2hi
Posts: 56
Joined: Fri 07 Jan 2005 13:06
Location: Hildesheim

more problems?

Post by scw2hi » Tue 26 Jan 2010 15:56

Each new ora_session->Savepoint("Test")
creates a new Savepoint entry in DBMonitor but without any name!

So a new savepoint seem to overwrite the previous one without careing about its name

kurtbilde
Posts: 114
Joined: Wed 16 Mar 2005 16:02
Location: Odense, Denmark

Post by kurtbilde » Wed 27 Jan 2010 06:31

Hi,

Looks like the issue I stumbled upon in august... (Search for Ora-1086 error). The problem was never found by Devart, even though ODAC did create it's own errormessage dialog. Does it raise an ORA-error or ?!?

All the best
Kurt

scw2hi
Posts: 56
Joined: Fri 07 Jan 2005 13:06
Location: Hildesheim

it is different

Post by scw2hi » Wed 27 Jan 2010 07:10

Hi,

I haven´t seen any ORA error message so far.

The only thing I can see is that all manually created savepoints are sored on ora_session without any name.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 28 Jan 2010 13:31

We have fixed this problem. The fix will be included in the next build of ODAC.

scw2hi
Posts: 56
Joined: Fri 07 Jan 2005 13:06
Location: Hildesheim

Good news

Post by scw2hi » Thu 28 Jan 2010 13:34

That is great :D ,

thanks in advance

Post Reply