Rob Bygrave
d036edf7fd
#2677 - Fix for trim failing on mutation of lastAccessTime
...
Currently, lastAccessTime can mutate during cache trim processing. This fixes this issue by taking a copy of the lastAccessTime storing as lastAccessSort and using that for sorting for cache trim.
2022-05-02 20:31:10 +12:00
Rob Bygrave
5b9ca2933f
Fix: CompareTo when discriminatorString is null
...
- Fix for regression introduced by #2646 in version 13.3.1
- Replaces PR #2664
2022-04-21 09:53:06 +12:00
Rob Bygrave
a270caf605
Remove deprecated methods from BeanPersistRequest, BeanQueryRequest, BeanDeleteIdRequest
...
All removed methods are renamed. Migrate to use the renamed method.
2022-04-20 18:26:34 +12:00
Rob Bygrave
b2349bb044
Fix test InitDataSourceTest to use public API
2022-04-20 10:50:39 +12:00
Rob Bygrave
f5a779e18b
Refactor L2 cache tenant awareness - add TenantAwareCache
...
The design change is to use TenantAwareCache to deal with wrap/unwrap of tenant aware keys, removing any tenant awareness from the underlying cache implementations (DefaultServerCache, redis, hazelcast etc).
2022-04-07 15:26:21 +12:00
Rob Bygrave
c7ad5c5981
#2636 - Remove deprecated @CreatedTimestamp and @UpdateTimestamp, migrate to @WhenCreated / @WhenModified
2022-04-06 22:17:33 +12:00
Rob Bygrave
e71e16c1ee
Refactor extract separate modules for each platform from ebean-api dbplatform
2022-03-30 17:11:36 +13:00
Roland Praml
7666775d1a
Suggested changes (no code change)
2022-03-28 14:39:12 +02:00
Rob Bygrave
b85bb5f459
Refactor tests, move some unit tests to ebean-api
2022-03-27 20:31:17 +13:00
Rob Bygrave
426d314e63
Refactor tests, move internal type tests to ebean-core
2022-03-27 20:20:35 +13:00
Rob Bygrave
e3e5414157
Refactor tests, move some internal expression tests to ebean-core
2022-03-27 19:55:34 +13:00
Rob Bygrave
28088a5e54
Refactor tests, move some internal deploy tests to ebean-core
2022-03-27 17:44:43 +13:00
Rob Bygrave
2acdf2f4bf
Refactor tests, move some internal core tests to ebean-core
2022-03-27 17:06:52 +13:00
Rob Bygrave
785a027dd6
Refactor tests, move some cache tests to ebean-core
2022-03-27 16:49:28 +13:00
Rob Bygrave
88005dbe09
Refactor tests, move changelog tests
2022-03-25 18:44:24 +13:00
Roland Praml
c40b9738d1
No effective code change: Removed unused imports
2022-03-24 09:23:39 +01:00
Rob Bygrave
e4c06432a0
Move some more unit tests from ebean-test back to ebean-core
2022-03-24 18:48:59 +13:00
Rob Bygrave
f58d6038c7
Move some unit tests from ebean-test back to ebean-core
2022-03-24 18:21:48 +13:00
Noemi Szemenyei
3c7555de36
Provide custom BackgroundExecutorWrapper to pass thread locals
...
(cherry picked from commit 336accf447 )
2022-03-11 13:31:50 +01:00
Rob Bygrave
e3a20a351d
#2582 - Fix for regression, BackgroundExecutor is bounded (since 12.6.2)
...
The change for #2121 brought in a regression where the scheduledExecutorService was used for processing ALL submitted tasks (not just scheduled ones) and is a bounded executor service. Previously non-scheduled tasks went to a "newCachedThreadPool" based executor service and with this change we are moving back to that (via restoring and using the DaemonExecutorService for those tasks).
2022-03-04 10:21:56 +13:00
rbygrave
eab56d323b
Refactor move tests from ebean-core to ebean-test
2021-09-08 22:49:23 +12:00
rbygrave
0b00a14fd3
Refactor tidy tests - remove unused test Main and test MainMemoryLeak
2021-09-08 21:48:53 +12:00
rbygrave
c1d57c6b10
Refactor tidy tests
2021-09-08 21:47:52 +12:00
rbygrave
93ff2ef2e4
#2359 - Rename internal methods - SpiEbeanServer
2021-09-08 15:25:18 +12:00
rbygrave
d389ac680f
#2359 - Rename internal methods - BeanDescriptor
2021-09-08 15:17:17 +12:00
rbygrave
d582e63c25
#2359 - Rename internal methods - STreeProperty
2021-09-08 14:41:12 +12:00
rbygrave
bb9532f42e
#2359 - Rename Transaction.getConnection() method to connection() with deprecation
2021-09-08 14:17:30 +12:00
rbygrave
632f04c76b
#2359 - Rename plugin api methods with deprecation - Property
2021-09-08 14:04:31 +12:00
rbygrave
bc02eeac57
#2359 - Rename plugin api methods with deprecation - BeanType
2021-09-08 13:13:29 +12:00
rbygrave
8b98335e2e
#2359 - Rename plugin api methods with deprecation - BeanDocType
2021-09-08 10:42:51 +12:00
rbygrave
01e07dd2be
#2358 - Rename BeanState methods with deprecation
2021-09-08 10:30:18 +12:00
rbygrave
66143280fa
#2357 - Update tests to move away from deprecated methods
2021-09-07 21:44:07 +12:00
rbygrave
e95442d8ec
#2357 - Update tests to use reference()
2021-09-07 18:13:03 +12:00
rbygrave
aafde53b81
#2357 - Update tests to use beanState()
2021-09-07 18:11:51 +12:00
rbygrave
0887480865
#2357 - Update tests to use Database from EbeanServer
2021-09-07 18:10:36 +12:00
rbygrave
4ff8df9538
Tidy tests for ServerConfig -> DatabaseConfig
2021-09-07 17:33:06 +12:00
rbygrave
ddb63c1488
Update tests for MariaDB
2021-09-07 16:30:39 +12:00
rbygrave
aab2dff49c
MySQL Ignore tests that use Hash/Source JSON dirty detection
...
MySQL JSON type will not preserve ordering of keys. No way to return a consistent JSON result with this type hence Hash/Source do not work
2021-09-07 16:04:07 +12:00
rbygrave
d017b2ef39
MySQL Ignore tests that use Hash/Source JSON dirty detection
...
MySQL JSON type will not preserve ordering of keys. No way to return a consistent JSON result with this type hence Hash/Source do not work
2021-09-07 15:08:28 +12:00
rbygrave
70a967a3a7
Junit5 bump - ebean-core
2021-09-07 13:23:27 +12:00
rbygrave
a2f49a544c
#2355 - Rename methods in SpiServer with deprecation
2021-09-04 22:01:16 +12:00
rbygrave
4d4065c54b
#2355 - Rename methods in SpiServer with deprecation
2021-09-04 21:55:23 +12:00
rbygrave
d072dd52cf
#2355 - Rename methods in SpiServer with deprecation
2021-09-03 20:17:12 +12:00
rbygrave
25b9b37ac0
#2354 - Refactor internals - refactor rename methods in BeanRequest etc
2021-09-03 19:53:36 +12:00
rbygrave
b69c00b01e
#2353 - Rename BeanPersistRequest methods with deprecation
2021-09-03 18:01:27 +12:00
rbygrave
aa53742a07
#2352 - Rename ServerCache methods with deprecation
2021-09-03 17:24:33 +12:00
rbygrave
7c2a77081b
#2351 - Rename Database.getReference() to reference() with deprecation
2021-09-03 10:50:29 +12:00
rbygrave
57c0bceb63
#2351 - Rename Database.getReference() to reference() with deprecation
2021-09-03 10:47:56 +12:00
rbygrave
8cb43788dc
#2350 - Rename Database.getBeanState() to beanState() with deprecation
2021-09-03 09:55:48 +12:00
rbygrave
058e16d1a8
#2349 - Rename Database.getBeanId() to beanId() with deprecation
2021-09-03 09:32:47 +12:00