Entity Framework Transaction Error ORA-00600

Entity Framework Transaction Error ORA-00600

Postby markaw » Sun 29 Mar 2009 20:13

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
markaw
 
Posts: 13
Joined: Mon 11 Aug 2008 12:45

Postby AndreyR » Tue 31 Mar 2009 09:08

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.
AndreyR
Devart Team
 
Posts: 2919
Joined: Mon 07 Jul 2008 13:16


Return to dotConnect for Oracle