Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Weired problem when using serializable transaction in 10g
Hi VC!
Thanks for your help! I agree this actually is *very*, *very* unlikely, but is what actually happens.
I connect to Oracle over JDBC and do not know how to create such a session transcript...
I still think the stuff works in one and a single transaction as everything works well when in read committed mode. Additionally, both delete statements directy follow each other and are issued from the same connection. Just for testing I added a commit (done on the connection) between both delete statements. What does this tell me?
Would it make sense to test it with another Oracle version?
Cheers,
Oliver
VC wrote:
> Hello Oliver,
>
> "Oliver Zeigermann" <oliver_at_zeigermann.de> wrote in message
> news:2j897uFu2kciU1_at_uni-berlin.de...
>
>>I have a very weired delete problem that only occurs when isolation >>level is set to serializable. >> >> >>>delete from PROPERTIES p where p.VERSION_ID = ? >> >>deletes 10 rows while when I execute the same request *inside the same >>transaction*, again 10 rows are deleted. >> >>After that >> >> >>>select * from PROPERTIES p where p.VERSION_ID = ? >> >>returns 10 rows *inside the same transaction* as well. >> >>Obviously, nothing is removed at all until a invoke commit. Has anyone >>experienced something similar? Or has anyone any idea what might be my >>mistake? As a hint, a final commit does succeed as well... >>
>>Cheers and thanks in advance, >> >>Oliver