[idempiere/idempiere] d91503: IDEMPIERE-6875 Implement batch insert, update and ...

0 views
Skip to first unread message

hengsin

unread,
Apr 23, 2026, 5:21:46 PMApr 23
to idempi...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/idempiere/idempiere
Commit: d9150368d57d7422d49679436d183c8f7556a6ef
https://github.com/idempiere/idempiere/commit/d9150368d57d7422d49679436d183c8f7556a6ef
Author: hengsin <hen...@gmail.com>
Date: 2026-04-23 (Thu, 23 Apr 2026)

Changed paths:
A org.adempiere.base/src/org/compiere/model/BatchDelete.java
A org.adempiere.base/src/org/compiere/model/BatchInsert.java
A org.adempiere.base/src/org/compiere/model/BatchUpdate.java
A org.adempiere.base/src/org/compiere/model/IBatchOperation.java
M org.adempiere.base/src/org/compiere/model/MPeriod.java
M org.adempiere.base/src/org/compiere/model/MSession.java
M org.adempiere.base/src/org/compiere/model/MYear.java
M org.adempiere.base/src/org/compiere/model/PO.java
M org.adempiere.base/src/org/compiere/model/PO_Record.java
M org.idempiere.test/src/org/idempiere/test/base/POTest.java
A org.idempiere.test/src/org/idempiere/test/model/BatchOperationTest.java
M org.idempiere.test/src/org/idempiere/test/model/MRoleTest.java

Log Message:
-----------
IDEMPIERE-6875 Implement batch insert, update and delete API for PO (#3133)

* IDEMPIERE-6875 Implement batch insert, update and delete API for PO

* IDEMPIERE-6875 Implement batch insert, update and delete API for PO

- Fixed batch insert not working for MChangelog: needs to turn on
crosstenantsafe
- Fixed reset cache after commit not working correctly for delete
- Fixed SQLFragment parameters cannot contains null element

* IDEMPIERE-6875 Implement batch insert, update and delete API for PO

- address coderabbitai review comments

* Apply Year/Period batch operation patch from Carlos

* address coderabbitai review comments

- improve type check for batch
- fix leaking of prepared statement resource
- fix result check for batch update

* Change BatchDelete, Insert and Update to throw exception instead of return boolean

- Fix bug in MRoleTest and POTest

* Fix double rollback on exception

- Fix no handling of Statement.SUCCESS_NO_INFO
- Fix ignore of ModelValidator.TYPE_AFTER_DELETE error

* Add missing change log for batch delete

* add unit test

* Fix batch operation not working with log migration script

* Fix not calling lobSave

Fix ignoring return value from saveFinish call.

* Refine cross tenant set and clear protocol.

- Refine handling of batch operation errors.

* declare internal api as final

* Fix not working with log migration script setting.



To unsubscribe from these emails, change your notification settings at https://github.com/idempiere/idempiere/settings/notifications
Reply all
Reply to author
Forward
0 new messages