Page 1 of 1

Entity Framework Transaction Error ORA-00600

Posted: Sun 29 Mar 2009 20:13
by markaw
Hi,

I'm trying to perform simple transaction with EF and dotConnect like this:

Code: Select all

            using (OwEntities Context = new OwEntities())
            {
                using (System.Transactions.TransactionScope TransactionScope = new System.Transactions.TransactionScope())
                {
                    EaiArt EaiArt = new EaiArt();
                    EaiArt.Code = "Test";
                    Context.AddToEaiArt(EaiArt);
                    Context.SaveChanges(false);
                    EaiJob EaiJob = new EaiJob();
                    EaiJob.Code = "Test EaiJob " + EaiArt.SysEAIART;
                    Context.AddToEaiJob(EaiJob);
                    Context.SaveChanges(false);
                    Context.AcceptAllChanges();
                }
            }
I'm getting a Devart.Data.Oracle.OracleException : ORA-00600: Interner Fehlercode, Argumente: [setiso02], [272768515], [], [], [], [], [], [] right after the second Context.SaveChanges(false). Am I doing something wrong here?

Best regards,
Mak

Posted: Tue 31 Mar 2009 09:08
by AndreyR
Thank you for the report, this problem is already fixed in dotConnect for Oracle 5.20 Beta.
The 5.0.25 Release build with this fix will be available this week.
As a temporary workaround you can use TransactionScope with TransactionOptions.IsolationLevel set to ReadCommitted.