rob bygrave
43e95d81f6
#1427 - RemoteTransactionEvent process dependent tables
2018-06-19 00:50:14 +12:00
rob bygrave
8d976f83a9
#1417 - Breaking API - Remove PersistBatch.INSERT ... migrate to PersistBatch.ALL
2018-06-18 21:15:10 +12:00
rob bygrave
085843339f
#1432 - Refactor internals for RemoteTransactionEvent / BeanPersistIds ... to not send inserted ids
2018-06-17 23:34:27 +12:00
rob bygrave
bf33b3f96f
#1431 - Refactor internals for RemoteTransactionEvent binary serialisation
2018-06-17 23:29:11 +12:00
rob bygrave
e1d4159453
#1431 - Refactor internals for RemoteTransactionEvent binary serialisation
2018-06-17 22:25:45 +12:00
rob bygrave
9c73309dfd
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Update RemoteTransactionEvent, add (back) common binary message handling (Common to TCP, K8s and upcoming binary pubsub)
2018-06-16 15:15:54 +12:00
rob bygrave
bd3c99e67f
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Wrap Clock as ClockService to use in TransactionManager and DefaultServer (and allow for changing the Clock implementation for testing).
2018-06-16 00:22:44 +12:00
rob bygrave
6a9ab49ef0
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Propagation across cluster.
2018-06-16 00:09:03 +12:00
rob bygrave
96cc8d7605
#1427 - QueryCache should be cleared, if one of a dependent bean is updated
...
Initial work, does not include propagation across cluster.
2018-06-15 17:36:23 +12:00
rob bygrave
81c6d4601d
#1425 - Stateless update with OneToMany with SoftDelete and deleteMissingChildren = true ... does a hard delete
2018-06-14 16:09:45 +12:00
rob bygrave
d459807af7
#1402 - Refactor SQL Logging internals (io.ebean.SQL) such that it is easier to capture for testing/asserts
2018-06-01 09:19:26 +12:00
rob bygrave
dd6f223ae1
#1360 - ENH: Add transaction.setNestedUseSavepoint() ... such that nested transactions are actually Savepoints
2018-04-05 21:35:29 +12:00
Rob Bygrave
abbcd35ee6
#1353 - Use of ebeanServer.commitTransaction() in nested transaction doesn't match transction.commit() and closes parent scope
2018-03-27 09:14:45 +13:00
Rob Bygrave
85bfe3d03e
#1345 - Refactor io.ebean.meta.MetaInfoManager API (query execution metrics). Breaking change for people collecting query execution metrics.
2018-03-10 02:51:51 +13:00
Rob Bygrave
06bce35f5a
#1293 - Refactor - move JdbcClose into io.ebean.util ... from io.ebeaninternal.util as it is used in public API (platform code, sequences etc)
2018-02-27 12:56:20 +13:00
Roland Praml
0e3f47ee82
No effective code change: Fixwarnings, overrides, generics etc. ( #1285 )
2018-02-27 10:15:19 +13:00
Rob Bygrave
0e219a9bc6
Revert #1263 - ENH: Make Transaction API Fluid such that we can set multiple thing like batchSize and label in a fluid fashion #1276
2018-02-26 11:45:49 +13:00
Rob Bygrave
3d62e84d59
#1263 - ENH: Make Transaction API Fluid such that we can set multiple thing like batchSize and label in a fluid fashion
2018-02-16 14:40:35 +13:00
Rob Bygrave
a5c6f483b0
#1258 - ENH: Add ServerConfig notifyL2CacheInForeground option ... was ServerCachePlugin BackgroundExecutor problem
2018-02-16 11:18:17 +13:00
Rob Bygrave
175714046a
#1254 - SpringJdbcTransactionManager inifinite recursion #1254
...
Yeah, nah. This is the real fix. Expose:
SpiTransaction TransctionManager.getInScope();
... and have ebean-spring-txn SpringJdbcTransactionManager call it instead of getActive().
2018-02-09 23:03:07 +13:00
Rob Bygrave
73b2cc55f3
#1254 - SpringJdbcTransactionManager inifinite recursion #1254
...
Fix. Note tested in ebean-spring-txn.
2018-02-09 22:22:08 +13:00
Rob Bygrave
851f1c98b0
#1245 - Refactor internals - move Transaction ProfileStream creation
...
Stops the profileId parameter pollution, enables to potentially use transaction label
and runtime toggling of collecting transaction profiling detail.
2018-01-31 14:02:50 +13:00
Rob Bygrave
a92e620f7e
#1245 - Refactor internals - move logic to TransactionManager from DefaultServer
2018-01-31 13:36:23 +13:00
Rob Bygrave
f9cd955f7a
#1245 - Refactor internals - Add to TransactionManager externalRemoveTransaction() and externalBeginTransaction()
...
These provide a better/tidier way for external transaction managers (like ebean-spring-txn) to begin and end externally
managed transactions.
2018-01-31 13:28:42 +13:00
Rob Bygrave
b682293a32
#1245 - Refactor internals - move logic to TransactionManager from DefaultServer
2018-01-31 11:56:38 +13:00
Rob Bygrave
5bd7853ce8
#1245 - Refactor internals - move TransactionMangerScope to be part of TransactionManager
2018-01-31 11:30:11 +13:00
Rob Bygrave
51d2e4c600
ENH: Add ProfileLocation - Part 2 - performance metrics for transactions with label and profileLocation
2018-01-22 14:54:27 +13:00
Rob Bygrave
b9ae76d465
#1237 - ENH: Add ProfileLocation - support for relating performance metrics for queries and transactions back to source line of code
2018-01-18 18:10:03 +13:00
Rob Bygrave
932986a6b5
#1232 - Performance: Add support for a second read-only DataSource (for implicit query-only transactions)
2018-01-09 16:35:22 +13:00
Rob Bygrave
c7f4b56dd1
#1225 - ENH: Extend L2 server cache (near caching) for clearing "near caches"
2017-12-13 02:09:10 +13:00
Rob Bygrave
84bb4ff78c
#1207 - Regression added in 11.4.1 with NPE on @transactional(type = TxType.SUPPORTS)
2017-11-13 21:33:39 +13:00
Rob Bygrave
ff67ef60b0
#1197 - Refactor how @Transactional methods internally managed
2017-11-03 02:13:56 +13:00
Rob Bygrave
1d52b3a818
#1183 - Support transaction profiling, adjust output format
2017-10-27 00:27:21 +13:00
Rob Bygrave
6ce2b91fff
#1183 - Support transaction profiling, move away from binary encoding
2017-10-26 23:32:54 +13:00
Rob Bygrave
55d66ae851
#1183 - Support transaction profiling, move away from binary encoding
2017-10-26 23:32:44 +13:00
rob bygrave
7ebef51859
#1183 - ENH: Add support for transaction profiling
2017-10-25 01:07:00 +13:00
Roland Praml
6ac146cabe
Fix beanchange deser ( #1178 )
...
Fix / support JSON marshalling of BeanChange + add changeLogAsync option to ServerConfig
2017-10-19 09:40:27 +13:00
Rob Bygrave
a89a9f0202
#1166 - Refactor to use beginServerTransaction() to make Ebean.currentTransaction available in lifecycle handlers
2017-10-17 01:07:48 +13:00
rob bygrave
2c436c3af5
#1123 - 11.1.1 API change - moved PersistBatch, Platform, TxIsolation and TxType to io.ebean.annotation package
2017-09-15 21:48:37 +12:00
David Hofmann
55e19618f8
fix connection leak in JTA managed transactions ( #1077 )
2017-08-03 23:28:21 +12:00
rob bygrave
e94c5484a0
#1047 - Fix connection leak on failed beginTransaction()
2017-06-25 21:42:51 +12:00
Roland Praml
0413c22e6e
no effective code change - fixed warnings about serialization, override, raw-types ( #1032 )
2017-06-23 19:33:03 +12:00
rob bygrave
58c5f01e2b
#1042 - JtaTransaction is TenantMode.DB aware
2017-06-19 22:28:15 +12:00
Koen De Groote
9e2923f571
For debug and trace levels, either added isEnabled check or made arguments parameterized. ( #1028 )
2017-05-21 21:50:13 +12:00
Koen De Groote
335c4de109
Static code analysis. ( #1017 )
2017-04-30 14:47:02 +12:00
Koen De Groote
43408fcb87
Java language level updates concerning Maps. ( #1008 )
...
* Java language level updates concerning Maps.
* Reverts when comments indicated no sync can happen.
2017-04-22 15:48:46 +12:00
Koen De Groote
b821702b8d
Moving defaultservercache implementation to use nanoseconds to determine whether or not something needs to be evicted from the cache. ( #998 )
...
The old implementation used System.currentTimeMillis(), which might be unreliable, for instance during a jump in DST.
Thanks @rPraml for noticing and suggesting the fix.
2017-04-01 00:30:01 +13:00
Rob Bygrave
4d82b86f81
#993 - ENH: Add flush() to EbeanServer and Model to make it more accessible than the current transaction.flushBatch()
2017-03-13 23:07:17 +13:00
Rob Bygrave
1d99a5c5a4
#992 - API Change - Change Transaction.close() to throw PersistenceException rather than IOException
2017-03-13 22:10:08 +13:00
Rob Bygrave
c8d01828b3
#991 ENH: Add forUpdateNoWait() and forUpdateSkipLocked() options ... #528 ENH: Improve exception handling
2017-03-13 20:50:22 +13:00