Code: Select all
System.Data.Entity.Infrastructure.CommitFailedException: An error was reported while committing a database transaction but it could not be determined whether the transaction succeeded or failed on the database server. See the inner exception and http://go.microsoft.com/fwlink/?LinkId=313468 for more information. ---> System.InvalidOperationException: Unexpected query batch command.
at Devart.Common.Entity.dx.d(ck A_0)
at Devart.Common.Entity.dx.k()
at Devart.Common.Entity.cv.b()
at Devart.Common.Entity.bz.a(Object A_0, TransactionStateChangeEventArgs A_1)
at Devart.Data.Oracle.OracleTransaction.Commit()
Code: Select all
config.QueryOptions.NoEscapeLike = true;
config.QueryOptions.CaseInsensitiveComparison = true;
config.QueryOptions.CaseInsensitiveLike = true;
config.DmlOptions.BatchUpdates.Enabled = true;
config.DmlOptions.BatchUpdates.AsynchronousBatch = true;
config.DmlOptions.InsertNullBehaviour = Devart.Data.Oracle.Entity.Configuration.InsertNullBehaviour.Omit;
config.Workarounds.ColumnTypeCasingConventionCompatibility = false;
1) I do not use any explicit Transaction. Just grab entity from the db, change a field and save
2) I use native Oracle Client Tools for connecting to Oracle (no Direct Mode or Instanct Client)
3) It seems to work with provider version 8.3.115! Yet, not with any later
4) It also works with any driver if I disable Batch Updates
5) I have intercepted commands to verify that Oracle 11g syntax is used, not 12g
6) Devart DbMonitor does not display any details on the transaction
Any ideas???