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
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
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
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
rob bygrave
4a594b32ef
Refactor modify SpiServer to extend Database (rather than EbeanServer)
2020-10-20 11:36:01 +13:00
rob bygrave
8b9f760cb2
Update tests for DatabaseFactory.create() with shutdown
2020-10-19 12:12:00 +13:00
rob bygrave
8c7a84be9c
No effective change - tidy tests that create unregistered Database instances (shutdown)
2020-10-16 16:04:52 +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
49c64c1eb5
Add Automatic-Module-Name entries MANIFEST.MF
2020-10-12 16:45:57 +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
49b1bd54c3
#2075 - Refactor external mapping (i.e. named queries from ebean.xml etc) - extract api and separate module
2020-10-12 14:54:25 +13:00
rob bygrave
f57db28f1c
#2075 - Refactor external mapping api and use ServiceLoader
2020-10-10 17:12:13 +13:00
rob bygrave
b22bffe770
#2074 - Refactor extract ebean-ddlgen module. In future this module would expected to be a test only dependency
2020-10-10 12:28:02 +13:00
rob bygrave
b9047bf280
#2073 - Refactor internals for DdlGenerator use use ServiceLoader
2020-10-09 22:58:47 +13:00
rob bygrave
a6f5ab8074
Refactor internals - move DbOffline, split VisitAllUsing into VisitProperties
2020-10-09 18:02:40 +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
rob bygrave
11839aca5e
Refactor to ServiceLoad MetricFactory implementation
2020-10-09 14:17:21 +13:00
rob bygrave
86aed458dd
Move ShutdownManager into io.ebean.event
2020-10-09 14:13:52 +13:00
rob bygrave
77995fda0a
#2065 - Fix missed tests for - Refactor SQL generation - remove excess whitespace
2020-10-09 10:17:23 +13:00
rob bygrave
d113ddc525
#2067 - Extract ebean-autotune into separate module
2020-10-08 23:34:56 +13:00
Rob Bygrave and GitHub
7c36439daf
Refactor move into ebean-core directory ( #2066 )
2020-10-08 21:31:18 +13:00