rbygrave
f51f2269fb
#2377 - Wrong order in batch save, fix transaction depth
...
The guts of this fix is in DefaultPersister.saveAssocOne() with the change to use the new transaction.depthDecrement() method. For our failing test cases this changes the depth from -1, 0 to be 0, 1.
We can see the impact of this change in the batch ordering via the logging of:
io.ebean.SUM - txn[1001] BatchControl flush ...
2021-09-17 17:58:20 +12:00
rbygrave
b38a21f8c4
Merge branch 'save-cascade-order' of https://github.com/FOCONIS/ebean into FOCONIS-save-cascade-order
2021-09-17 14:00:35 +12:00
Roland Praml
bf62efd220
Add failing testcases for wrong order in batch save and possible fix for one of them
2021-09-16 16:52:20 +02:00
Rob Bygrave
3865fc8ffd
#2376 - When Lazy load of soft deleted bean - javax.persistence.EntityNotFoundException: Bean not found during lazy load or refresh. id[*] type[class *]
2021-09-16 23:01:04 +12:00
Rob Bygrave
b262c2e19d
#2373 - Tidy up, migrate from deprecated methods
2021-09-16 11:58:45 +12:00
Rob Bygrave and GitHub
cf95372f32
Merge pull request #2373 from FOCONIS/pr/enh/post_process_find_controller
...
Allow post-processing in BeanFindController
2021-09-16 11:26:34 +12:00
Rob Bygrave and GitHub
41bbfb0c9c
Merge pull request #2372 from FOCONIS/pr/bugfix/optimistic_lock_undo_generated_properties
...
Undo generated properties on OptimisticLockException
2021-09-16 11:17:55 +12:00
Jonas Pöhler
d016f479e2
Merge remote-tracking branch 'ebean/master' into pr/enh/post_process_find_controller
2021-09-15 16:36:22 +02:00
Jonas Pöhler
aea50b4805
Fix assert methods and import
2021-09-15 15:30:07 +02:00
Jonas Pöhler
861fc813a7
Merge remote-tracking branch 'ebean/master' into pr/enh/formula_in_where_and_order_by
2021-09-15 13:54:10 +02:00
rbygrave
0206921eae
#2366 - Rename methods with deprecation for QueryPlanCapture and Pairs
2021-09-15 11:22:25 +12:00
Jonas Pöhler
4064be731f
Re-add test and fix post-merge compile errors
2021-09-14 15:36:03 +02:00
Jonas Pöhler
5805c3e995
Re-add test
2021-09-13 17:12:32 +02:00
Jonas Pöhler
a582db9101
Re-add test and fix compile error
2021-09-13 17:04:22 +02:00
Jonas Pöhler
c363023c80
Merge remote-tracking branch 'ebean/master' into pr/enh/post_process_find_controller
2021-09-13 13:25:28 +02:00
Rob Bygrave
9fc2ec044d
#2362 - ENH: Add lock(bean) method as convenience for DB pessimistic locking
2021-09-09 18:18:16 +12:00
Rob Bygrave
7a327cb644
#2361 - Tidy tests only, organise imports
2021-09-09 11:29:05 +12:00
Rob Bygrave
1696caadd4
#2361 - Tidy tests only, move to LoggedSql (ebean-test)
2021-09-09 11:25:04 +12:00
rbygrave
eab56d323b
Refactor move tests from ebean-core to ebean-test
2021-09-08 22:49:23 +12:00
rbygrave
6227b081cf
Junit5 bump - ebean-test
2021-09-06 20:55:09 +12:00
Robin Bygrave
b7da2cbd97
#2173 - ebean-test: Add assertContains - DbJson.of(entityBean).assertContains(...)
2021-02-19 09:29:06 +13:00
rob bygrave
bc055fea25
#2068 - Add ebean-test as module
2020-10-08 23:48:19 +13:00