Skip to content

Cannot work correctly with DB Transaction? #29

@TonyHoi

Description

@TonyHoi

Hi,

I am testing your v3.10.58 version. It's strange when using BulkInsert or BulkMerge in an Unit Work or Transaction with Oracle DB.

For Example, I am using aspnetboilerplate framework, BulkInsert seems only work when Disable Unit of Work and BulkMerge seems work in own transaction (no rollback even throw exception before completing Unit of Work).

using (var uow = _uow.Begin()) //TransactionScope Unit of Work
{
this.Context.BulkInsert(customers); // it's not work when in a TransactionScope
this.Context.BulkMerge(customers); // its work but seems use own transaction and cannot rollback
this.Context.BulkSaveChanges();
uow.Complete();
}

I'm not sure if it's ABP framework issue, kindly can you give me some advise ?

this is ABP unit of work document

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions