rob bygrave
c3cdecaa60
Fix test TestSqlUpdateBatch with correct bind type for Postgres
2020-12-07 10:06:15 +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
cb0100f02a
Refactor tidy BeanDescriptor, no effective change
2020-12-04 21:11:02 +13:00
rob bygrave
9c6dd0989a
Refactor tidy BeanDescriptorManager whitespace and raw types
2020-12-04 21:03:08 +13:00
rob bygrave
365b7c4600
#2122 - Metrics for ElementCollection query not included in reporting (via MetaInfoManager)
2020-12-04 20:41:40 +13:00
rob bygrave
ed2455f460
#2121 - Refactor internals move DefaultBackgroundExecutor etc
2020-12-03 15:47:14 +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
f6c4024ae5
No effective change - tidy test only, TestStatelessUpdate
2020-12-01 21:17:19 +13:00
rob bygrave
2c8cc793ab
No effective change - tidy test only, TestStatelessUpdate
2020-12-01 14:29:37 +13:00
rob bygrave
66454d2e61
No effective change - bump test dependency for ebean-ddl-generator
2020-11-26 08:57:19 +13:00
rob bygrave
e7b13cf2d9
[maven-release-plugin] prepare for next development iteration
2020-11-25 22:48:17 +13:00
rob bygrave
04cd520719
[maven-release-plugin] prepare release ebean-parent-12.6.1
2020-11-25 22:48:05 +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 and GitHub
8e91268979
#2110 Part2 - addBatch() does not auto flush ( #2115 )
2020-11-25 22:18:05 +13:00
rob bygrave
cc637d56e1
Tidy tests only TestInsertSqlLogging and TestSqlUpdateExceptions
2020-11-25 21:11:16 +13:00
Rob Bygrave and GitHub
9846ebd65d
Merge pull request #2112 from ebean-orm/FOCONIS-bug-ebean/sql_update_batch_flush
...
2110 - Fix and test for executeBatch() on SqlUpdate
2020-11-25 20:40:02 +13:00
rob bygrave
b568e2efc7
#2114 - Fix PreparedStatement leak when findEach() with invalid SQL
2020-11-25 20:19:20 +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
f4ea674d60
#2108 - ebean-k8scache and ebean-cluster not invalidated when only remoteTableMod or remoteCacheEvent
2020-11-24 22:16:14 +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
247e96f5db
#2110 - Fix for executeBatch() on SqlUpdate + refactor
...
- Changes to generally not close BatchedPstmt on executeBatch() and instead closed on commit/rollback
2020-11-24 16:40:10 +13:00
Jonas Pöhler (JPo)
ce60eac583
ADD: failing testcases for executeBatch() on SqlUpdate
...
Signed-off-by: Jonas Pöhler (JPo) <jonas.poehler@foconis.de >
2020-11-20 15:56:08 +01: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
30a00cb092
#2105 - Refactor extract ebean-core-type module
...
- Move ScalarType, DataBinder, DataReader, ExtraTypeFactory to ebean-core-type module
- Update the ebean-postgis and other modules
2020-11-19 16:10:00 +13:00
rob bygrave
0bfb6895ad
#2105 - Refactor extract interface DataBinder from DataBind
2020-11-19 14:52:19 +13:00
rob bygrave
29345c823e
Bump test dependency on ebean-ddl-generator
2020-11-19 09:53:19 +13:00
rob bygrave
e71cb4f2ff
[maven-release-plugin] prepare for next development iteration
2020-11-19 09:29:27 +13:00
rob bygrave
108a1c7181
[maven-release-plugin] prepare release ebean-parent-12.6.0
2020-11-19 09:29:16 +13:00
rob bygrave
d9c4798d4e
Bump ebean-test-docker dependency with io.ebean groupId
2020-11-19 09:15:02 +13:00
rob bygrave
6ecd849499
#2104 - Refactor rename ebean-ddlgen module to ebean-ddl-generator
2020-11-18 22:28:33 +13:00
rob bygrave
35580fa62b
#2101 - Refactor to make ebean-migration optional dependency
2020-11-18 21:52:32 +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
f394e7f39b
#2099 - Refactor internals introduce use of ebean-ddl-runner
2020-11-12 22:42:00 +13:00
rob bygrave
06b54bd824
No effective change - tidy test properties
2020-11-12 14:51:16 +13:00
rob bygrave
1eb5cf1d22
Fix test TransactionManagerTest - close leaked connection
...
Connection properties to help find leaks are capturestacktrace and maxStackTraceSize, e.g.
datasource.h2.capturestacktrace=true
datasource.h2.maxStackTraceSize=20
2020-11-12 13:55:10 +13:00
rob bygrave
b540d70b2d
#2097 - Split ebean-datasource dependency to ebean-datasource-api and ebean-datasource
2020-11-12 12:53:32 +13:00
rob bygrave
3e078e41ff
[maven-release-plugin] prepare for next development iteration
2020-11-11 22:47:24 +13:00
rob bygrave
a80ab94479
[maven-release-plugin] prepare release ebean-parent-12.5.2
2020-11-11 22:47:12 +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
c6e33ba3ac
Modify pom names of modules for more consistency
2020-10-23 00:33:16 +13:00
rob bygrave
6ecc10a35c
#2091 - Using Postgis types with query gives PersistenceException Caused by: java.sql.SQLException: Unhandled data type [6000] bind number[0]
2020-10-22 22:48:53 +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