rob bygrave
400ae3cf4b
#2138 - Mark Transaction.flushBatch() as deprecated - migrate to flush();
2020-12-21 14:58:04 +13:00
rob bygrave
dbe273bb56
#2123 - Modify BackgroundExecutor API - add scheduleWithFixedDelay() and mark executePeriodically() as deprecated
2020-12-07 17:14:03 +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 and GitHub
786444a6b9
Refactor BackgroundExecutor add submit() methods returning Future ( #2121 )
...
- Adds submit() methods that return Future
- Refactor internals to use DaemonScheduleThreadPool
- Delete the now unused DaemonExecutorService
- Tidy internals using wrapMDC() methods
2020-12-03 13:16:51 +13:00
Rob Bygrave and GitHub
c66875449b
Add Query.withLock(LockType) and withLock(LockType, LockWait) ( #2116 )
...
Add Query.withLock(LockType) and withLock(LockType, LockWait)
2020-12-01 21:31:53 +13:00
rob bygrave
838af0478e
#2113 - Refactor rename Query.LockType enum names
2020-11-25 22:32:59 +13:00
rob bygrave
9064e96b90
#2113 - Refactor rename Query.ForUpdate to Query.LockWait
...
Slightly improve the name of the enum. Note that although this is on public Query it's only internally used.
2020-11-25 22:23:17 +13:00
rob bygrave
20fc74219a
#2089 - Postgres - Use NO KEY with FOR UPDATE clauses with Postgres
...
Rename PlatformConfig.defaultLockWithKey to PlatformConfig.forUpdateNoKey
2020-11-24 23:58:58 +13:00
rob bygrave
5c34b0daa5
Add support for Postgres lock types (no key, share, key share) with FOR UPDATE
2020-11-24 23:36:54 +13:00
Rob Bygrave and GitHub
21f43dc395
Merge pull request #2107 from ebean-orm/feature/ModifyAwareType
...
Refactor io.ebeaninternal.json.ModifyAwareOwner to io.ebean.ModifyAwareType
2020-11-24 22:05:04 +13:00
rob bygrave
5082ce4280
#2089 Postgres - Support NO KEY option with FOR UPDATE clauses with Postgres
2020-11-24 22:02:06 +13:00
Rob Bygrave and GitHub
ed061fb3b1
Merge pull request #2090 from ebean-orm/feature/2089
...
#2089 - Postgres - Use NO KEY with FOR UPDATE clauses with Postgres
2020-11-24 21:49:28 +13:00
rob bygrave
c34fcdf7b7
#2089 - Add PlatformConfig.lockWithKey configuration option for - Postgres - Use NO KEY with FOR UPDATE clauses
2020-11-19 22:47:15 +13:00
rob bygrave
dcfada0b52
Refactor io.ebeaninternal.json.ModifyAwareOwner to io.ebean.ModifyAwareType
...
- Rename ModifyAwareOwner to ModifyAwareType
- Move to io.ebean (making it properly public)
- Remove the requirement for Serializable
- Simplify to effectively a getter/setter pair (dirty state flag)
- Simplify to reset the dirty state flag via
2020-11-19 21:50:29 +13:00
rob bygrave
35580fa62b
#2101 - Refactor to make ebean-migration optional dependency
2020-11-18 21:52:32 +13:00
rob bygrave
b61ae74d3d
Tidy only - organise imports in ebean-api
2020-11-17 19:20:28 +13:00
rob bygrave
fead4350ce
Tidy remove unused imports
2020-11-17 19:15:10 +13:00
rob bygrave
04a651c40d
#2100 - Refactor move io.ebean.dbmigration.DbMigration [generation] from ebean-api to ebean-ddlgen module
2020-11-12 22:54:36 +13:00
rob bygrave
f473e40bfc
#2098 - Refactor simplify SequenceIdGenerator.loadInBackground() to use AtomicBoolean
2020-11-12 13:58:16 +13:00
rob bygrave
e6f0ab90dc
#2094 - Refactor remove isJavaTimePresent() ... we are Java 8+ so removing effectively redundant code
2020-10-23 01:25:28 +13:00
rob bygrave
53f4739c8f
#2093 - Refactor remove isJava7Present() ... we are Java 8+ so Java 7 types are always present - Removing effectively redundant code
2020-10-23 01:21:48 +13:00
rob bygrave
0e2528e542
#2092 - Add support for mocking Database interface to MockiEbean
2020-10-23 00:10:50 +13:00
rob bygrave
c044bc52f7
#2089 - Postgres - Use NO KEY with FOR UPDATE clauses with Postgres
2020-10-22 16:37:18 +13:00
rob bygrave
0abcc9e06e
#2085 - Refactor promote getDataSource() and getReadOnlyDataSource() to Database from plugin.SpiServer interface
2020-10-20 12:08:21 +13:00
rob bygrave
4a594b32ef
Refactor modify SpiServer to extend Database (rather than EbeanServer)
2020-10-20 11:36:01 +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 and GitHub
14181932ec
Refactor synchronized to ReentrantLock ( #2081 )
2020-10-16 00:20:42 +13:00
rob bygrave
1f1868fdd3
#2079 - Refactor to make Jackson core an optional dependency
2020-10-15 22:04:36 +13:00
rob bygrave
a53168bd00
Add Automatic-Module-Name entries MANIFEST.MF
2020-10-12 16:21:29 +13:00
rob bygrave
c783f26340
#2076 - Remove JAXB as dependency of ebean-api
...
- Move JAXB detection to ebean-ddlgen
- JAXB as test dependency of ebean-core
2020-10-12 16:10:07 +13:00
rob bygrave
050a3e2368
#2076 - Refactor DbDefaultValue internals - remove dependency on javax.xml.bind.DatatypeConverter for verify of value
2020-10-12 15:37:39 +13:00
rob bygrave
60becb6346
#2072 - Extract ebean-api module - NB: this includes moving ShutdownManager and small adjustment to DocStore/Elastic SPI
2020-10-09 17:12:27 +13:00