Rob Bygrave
1f9cf1e4b7
Split DatabaseBuilder interface separating the setters n getters adding DatabaseBuilder.Settings
...
So DatabaseBuilder.Settings has all the getters for code looking to read
the configuration that has been set. So DatabaseBuilder now just has the
setter methods.
Use DatabaseBuilder.settings() to access the settings and read the config
that has been set.
2023-11-03 22:58:11 +13:00
Rob Bygrave
12029ed06e
Refactor extract interface DatabaseBuilder from DatabaseConfig
...
First step in supporting the builder pattern for creating Database
2023-11-03 21:17:55 +13:00
Rob Bygrave
ff43672f4e
Move source to Jakarta (use ./jakarta-to-javax.sh)
...
Moving the master branch to use jakarta based code and
dependencies. Change to use ./jakarta-to-javax.sh to convert
back to javax when releasing that.
2023-09-11 23:31:01 +12:00
Roland Praml
dede93ca62
Use char-append instead of String-append
2023-08-21 08:22:18 +02:00
Rob Bygrave
1e860112e6
Modify ebean-test H2Database setup to default KEY,VALUE as non-keywords
...
H2Database 2.x changed KEY and VALUE to be deemed keywords for SQL compliance. This is actually a bit of a pain as all the other databases we test allow KEY and VALUE as column names.
This changes the setup for H2Database to treat KEY and VALUE as non keywords as before and be more consistent with the other databases.
2023-07-05 23:46:06 +12:00
Rob Bygrave
dce6a3e9e1
#2931 - Failing test for Ebean Redis - Failed to decode cache data for UUID as Id
2023-01-17 23:10:08 +13:00
parveenyadav-multiply and GitHub
934b0f0044
Create UUIDAsIDModel.java
2023-01-16 03:05:01 +05:30
Rob Bygrave
4252445eb4
Use AppLog and System.Logger for logging - static imports
2022-08-23 15:18:46 +12:00
Rob Bygrave
a23f241fff
Use AppLog and System.Logger for logging rather than slf4j-api
...
The avaje-applog-slf4j dependency means this is still using
slf4j-api for implementation. Remove that dependency and
service load the desired implementation.
2022-08-18 22:44:31 +12:00
Rob Bygrave
ff257a272b
Remove deprecated methods on ServerCache getHitRatio() -> hitRatio(), getStatistics() -> statistics()
2022-04-07 17:03:04 +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
24d8f38b1d
#2374 - Bump to Java 11 and module-path
2022-03-31 08:42:14 +13:00
Rob Bygrave
c8bb3c7b57
Fix test ebean-redis ClusterTest such that it allows for background thread sync to redis
2022-03-28 09:23:55 +13:00
Rob Bygrave
29c5916203
Add build workflow for db2
2022-01-28 08:54:21 +13:00
Rob Bygrave
7a6071ac9a
Support jedis 4.1.0 client (ScanParams, ScanResult in different package now)
2022-01-27 09:20:23 +13:00
Rob Bygrave
5b07309f51
#2389 - redis.clients.jedis.exceptions.JedisDataException: ERR wrong number of arguments for 'mget' command
2021-09-23 15:41:33 +12:00
Rob Bygrave
8ee67410f9
#2387 - Additionally support setIdIn(Collection<?> ids)
...
Add overloaded method taking Collection of id values.
2021-09-23 15:32:40 +12:00
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
d0909ad140
#2385 - Redis L2 cache regression - MPUT not working
2021-09-22 23:13:39 +12:00
Rob Bygrave and GitHub
0bf8c9eb64
Add module-info support via multi-version jar ( #2381 )
2021-09-21 14:37:51 +12:00
rbygrave
0887480865
#2357 - Update tests to use Database from EbeanServer
2021-09-07 18:10:36 +12:00
rbygrave
42645f7236
Junit5 bump - ebean-redis
2021-09-06 20:51:58 +12:00
rbygrave
aa53742a07
#2352 - Rename ServerCache methods with deprecation
2021-09-03 17:24:33 +12:00
Rob Bygrave
0ed6ccf499
#2348 - Rename Database.getServerCacheManager() to cacheManager() with deprecation
2021-09-02 23:14:33 +12:00
Rob Bygrave
fe67abce83
#2347 - Rename Database.getPlatform() to platform() with deprecation
2021-09-02 23:04:57 +12:00
Rob Bygrave
7fba9adc43
#2346 - Rename Database.getMetaInfoManager() to metaInfo() with deprecation
2021-09-02 22:58:09 +12:00
Rob Bygrave
12c5e9ea5d
#2344 - Rename Database.getDataSource() to dataSource() with deprecation
2021-09-02 22:48:09 +12:00
rob
371a50176e
Tidy tests only - ClusterTest and TestAggregateFormula
2021-08-30 22:39:11 +12:00
rbygrave
01e8b5f471
#2323 - Fallback to database query if redis connection fails
2021-08-18 20:41:09 +12:00
rbygrave
ec340c0abe
#2320 - Tidy only changes
2021-08-18 09:10:27 +12:00
rbygrave
b062ec050c
#2320 - Tidy only changes
2021-08-18 09:05:28 +12:00
rbygrave
965f4c6227
#2320 - Tidy only changes
2021-08-18 09:05:18 +12:00
rbygrave
7edfe3607d
#2320 - When I use Redis for L2 cache, can I set the TTL of the cache key?
2021-08-18 08:43:06 +12:00
rbygrave
ebadc92f63
#2319 - redis - ReentrantLock to replace synchronized(this)
2021-08-17 22:07:31 +12:00
rbygrave
ea56ec7435
#2319 - redis - final classes
2021-08-17 22:06:48 +12:00
rbygrave
3b990fb6e1
#2319 - redis - remove unused PrefixKey
2021-08-17 22:03:33 +12:00
rbygrave
96b4fbea4b
#2319 - redis - tidy whitespace
2021-08-17 22:02:57 +12:00
rbygrave
801d419f51
Refactor io.ebean.meta API, method rename with deprecation
2021-08-06 13:14:29 +12:00
rob bygrave
ce1d2803ce
Bump test wait time for redis
2021-03-18 22:18:34 +13:00
Robin Bygrave
e497c54f82
No effective change - modify test redis ClusterTest to have 20ms wait
2021-01-21 17:01:36 +13:00
rob bygrave
fcf14ac222
Add ebean-redis as module
2020-12-17 11:56:34 +13:00