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
Roland Praml
7632910027
FIX: potential NPE - manager can be null - eg when creted with new ExternalJdbcTransaction(conn) ( #979 )
2017-02-24 12:53:35 +13:00
Roland Praml
40f5596837
add missing @override ( #975 )
...
* no effective code change: add missing @override in "io.ebean.*" package
* no effective code change: add missing @override in "io.ebeaninternal.api.*" package
* no effective code change: add missing @override in "io.ebeaninternal.server.*" package
* no effective code change: add missing @override in "io.ebeaninternal.util.*" package
* no effective code change: add missing @override in "io.ebeanservice.*" package
* no effective code change: add missing @override in "src/test/java/"
2017-02-24 00:01:25 +13:00
Koen De Groote
6120a465e1
Simple fixes ( #976 )
...
* Should be only the really simple stuff.
* Final cleanups.
2017-02-23 23:46:51 +13:00
Rob Bygrave
0eef69a277
#920 - Change logger package to io.ebean (e.g. for logging SQL instead of org.avaje.ebean.SQL use io.ebean.SQL)
2016-12-11 23:42:38 +13:00
Rob Bygrave
971e2dc91b
#919 - io.ebean package initial
2016-12-11 23:23:22 +13:00