Rob Bygrave
477e7eeeda
#2387 - Hit the L2 bean cache via property IN expression (when property is the id property)
2021-09-23 00:23:23 +12:00
Rob Bygrave
c9c61d9f97
#2386 - Fix test with logging change
2021-09-23 00:13:53 +12:00
Rob Bygrave
f467ca2e10
Refactor internals, reduce the number of loggers used and simplify
2021-09-22 22:29:41 +12:00
Rob Bygrave
a14f7a1766
#2039 Map LocalDateTime when generating DB migrations for Postgres to timestamp DB type
2021-09-22 16:23:10 +12:00
Rob Bygrave and GitHub
57689db291
Merge pull request #2380 from cit-consulting/isToManyDirty_cce
...
WIP: Try to fix ClassCastException in isToManyDirty() check
2021-09-22 14:00:19 +12:00
Rob Bygrave
21bd83b417
Fix TestQueryJoinOnFormula with Postgres specific sql
2021-09-21 21:16:06 +12:00
Rob Bygrave
97e9b3c473
#2383 - Refactor rename Pairs methods for consistency (that are expected to be used only internally)
2021-09-21 15:01:01 +12:00
Rob Bygrave and GitHub
3550bf61c4
Refactor rename TransactionManager methods ( #2382 )
2021-09-21 14:54:26 +12:00
Rob Bygrave and GitHub
0bf8c9eb64
Add module-info support via multi-version jar ( #2381 )
2021-09-21 14:37:51 +12:00
Vladimir Konkov
01e7ddcffd
Try to fix ClassCastException in isToManyDirty() check
2021-09-20 20:02:58 +03:00
Rob Bygrave and GitHub
ad0befe90a
Merge pull request #2308 from FOCONIS/bugfix/fix-gen-key-sequence-test
...
fixing test entity GenKeySequence
2021-09-20 11:59:15 +12:00
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
aa5ba76707
#2376 - Whoops, revert logback-test.xml change
2021-09-16 23:01:43 +12: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
Rob Bygrave
55bfd56574
#2367 - Modify ebean-test to use its own logger adapter (not reuse the one from ebean-core)
2021-09-15 16:56:12 +12: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
Thomas Fellner
45e235cb64
Merge remote-tracking branch 'origin/master' into bugfix/fix-gen-key-sequence-test
2021-09-14 11:29:00 +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
1fecbbb618
Changes post-merge
2021-09-13 13:33:20 +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
796edae614
Junit5 bump - tidy ebean-test
2021-09-06 21:37:14 +12:00
rbygrave
6227b081cf
Junit5 bump - ebean-test
2021-09-06 20:55:09 +12:00
rbygrave
baa0594501
Change ebean-test tests to use H2 rather than mariadb
2021-07-13 12:10:23 +12:00
Robin Bygrave
c9968a9662
Change JsonAssertContains array matching to match on size
2021-03-16 22:03:12 +13:00
Robin Bygrave
e3001e8bdd
Fix JsonAssertContains testContainsFails with missing parts of JSON
...
Just add missing parts of test/resources/original.json and original-subset-modified.json
2021-03-16 09:30:54 +13:00
sebastian-mrozek
899fdca995
Improve assertions in case json compare does not fail as expected
...
Remove sys out print.
2021-03-15 13:04:05 +13:00
sebastian-mrozek
4731ee034e
Handle searching for matching elements in an array
...
Add unit tests.
Refactor internals to allow reusing assertion method for finding matches in an array.
2021-03-15 12:51:36 +13:00
sebastian-mrozek
ef3980a3ee
Add test resources
2021-03-11 13:47:46 +13:00
sebastian-mrozek
2a1c170aa4
Add test for shuffled array comparison
2021-03-11 13:44:59 +13:00
Robin Bygrave
b7da2cbd97
#2173 - ebean-test: Add assertContains - DbJson.of(entityBean).assertContains(...)
2021-02-19 09:29:06 +13:00
Robin Bygrave
99bb55efa0
No change - update ebean-test test configuration only for windows
2021-01-20 17:22:00 +13:00
rob bygrave
fe874c946d
#2140 - Bump ebean-migration dependency of ebean-ddl-generator to 12.4.0 (update ebean-test)
2020-12-23 20:22:50 +13:00
rob bygrave
9d706056c6
No functional change, replace new ReentrantLock(false) with new ReentrantLock()
2020-12-04 21:18:55 +13:00
rob bygrave
35580fa62b
#2101 - Refactor to make ebean-migration optional dependency
2020-11-18 21:52:32 +13:00
rob bygrave
064b3ceaa4
#2080 - Refactor convert from sychronized to ReentrantLock
...
DatabaseFactory, DbPrimary, ScalarTypeArrayList etc
2020-10-16 00:46:13 +13:00
rob bygrave
a53168bd00
Add Automatic-Module-Name entries MANIFEST.MF
2020-10-12 16:21:29 +13:00