Noemi Szemenyei
1b5d379ed3
Fix for Query with PathProperties (*,x(y))
2021-11-16 11:45:18 +01:00
Noemi Szemenyei
b90393a691
Unittest for select Query with (*,x(y))
2021-11-16 11:39:14 +01:00
Rob Bygrave
b3ee982b64
Use @NonNullApi to explicitly reflect non-null return types and params by default
2021-10-20 15:45:20 +13:00
Rob Bygrave
a445557ec3
#2422 - Remove extraneous jsr 305 @Nonnull
2021-10-19 17:59:25 +13:00
Rob Bygrave
5a4924b6cb
#2421 - Change database.diff() to return empty map rather than null with null bean argument
2021-10-19 11:58:29 +13:00
Roland Praml
5322ab3e7e
Remove: ReadJson.resetContext as it is not used
2021-10-11 17:22:33 +02:00
Roland Praml
100832ddd9
Changed test to test pc.beginIterate / endIterate
2021-10-11 17:16:34 +02:00
Rob Bygrave
ea3fb833a4
Weak reference based PersistenceContext for streaming queries
2021-10-11 22:48:18 +13:00
Jonas Pöhler
db6f93e383
FIX: Reuse of io.ebean.Update with collection parameters did not work correctly
2021-10-06 11:57:09 +02:00
Rob Bygrave
9af006b15b
Update tests only for Oracle
2021-09-23 18:49:28 +12:00
Rob Bygrave
c9c61d9f97
#2386 - Fix test with logging change
2021-09-23 00:13:53 +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
3550bf61c4
Refactor rename TransactionManager methods ( #2382 )
2021-09-21 14:54:26 +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
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
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
rbygrave
0206921eae
#2366 - Rename methods with deprecation for QueryPlanCapture and Pairs
2021-09-15 11:22:25 +12: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
Robin Bygrave
c9968a9662
Change JsonAssertContains array matching to match on size
2021-03-16 22:03:12 +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
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
rob bygrave
5112253d19
Fix for travis build of ebean-test module
2020-10-09 10:04:15 +13:00
rob bygrave
bc055fea25
#2068 - Add ebean-test as module
2020-10-08 23:48:19 +13:00