Rob Bygrave
e3a20a351d
#2582 - Fix for regression, BackgroundExecutor is bounded (since 12.6.2)
...
The change for #2121 brought in a regression where the scheduledExecutorService was used for processing ALL submitted tasks (not just scheduled ones) and is a bounded executor service. Previously non-scheduled tasks went to a "newCachedThreadPool" based executor service and with this change we are moving back to that (via restoring and using the DaemonExecutorService for those tasks).
2022-03-04 10:21:56 +13:00
Rob Bygrave
c5acd31da4
#2579 - Bump to ebean-migration 12.16.0, support both basePlatform and platform for finding/running migrations
2022-03-02 12:25:57 +13:00
Roland Praml
1ca5789112
Removed unused imports and add missing Override statements (no effective code change)
2022-02-24 08:03:26 +01:00
Rob Bygrave
dad4837b50
No change - format code only
2022-02-22 13:15:28 +13:00
Noemi Szemenyei
c2e4f862bc
default columnDef should be calculated from ebean
2022-02-18 10:02:48 +01:00
Rob Bygrave
d0fcd4a13a
#2549 - Fix DefaultPersister to expose non RuntimeExceptions on insert/update/delete. Not hide NoClassDefFoundError etc
2022-02-04 15:55:00 +13:00
Rob Bygrave
daf0ba67a4
#2547 - CockroachDB - Use ON DISTINCT ... like Postgres and Yugabyte
2022-02-04 08:58:21 +13:00
Rob Bygrave
a72cbaf243
#2547 - Cockroach identity DDL - Changing to use standard GENERATED ... AS IDENTITY syntax
2022-02-04 08:40:23 +13:00
Rob Bygrave
94951a5476
Yugabyte - use distinct on clause with Yugabyte (like Postgres)
2022-02-02 23:38:50 +13:00
Rob Bygrave
4899f23773
Yugabyte - Use MultiValueBind like Postgres (that is, ANY(?) clause in sqlQuery/sqlUpdate)
2022-02-02 23:02:32 +13:00
Rob Bygrave
57f6668b37
Support @DbArray of BigDecimal
2022-02-02 21:57:39 +13:00
Rob Bygrave
170e323ee9
#2507 - Script runner does not work with file system path
2022-02-02 13:02:49 +13:00
Rob Bygrave
376b3a9f13
#2538 - Tidy CQuery use of path()
2022-02-02 12:20:33 +13:00
Rob Bygrave
43af5343a4
Performance - cache the path maps used for load context
...
- Cache the path maps
- Include the ToOne paths
- Use empty map for null prefix
2022-02-02 12:10:02 +13:00
Rob Bygrave
886f539fc4
Refactor tidy SqlTreeNodeBean
2022-02-02 11:30:56 +13:00
Rob Bygrave
15f1bd310b
#2521 - Refactor inline index++
2022-02-02 09:05:14 +13:00
Rob Bygrave
fddcc64741
#2521 - Move horrible DB2 hack into DB2GetKeys
2022-02-02 08:59:41 +13:00
Rob Bygrave
ed917c55f1
Merge branch 'db2/fix-get-generated-keys' of https://github.com/FOCONIS/ebean into FOCONIS-db2/fix-get-generated-keys
2022-02-02 08:46:42 +13:00
Rob Bygrave
1359d534d5
Yugabyte - Use Postgres ScalarTypes for JSON/JSONB but not HSTORE
2022-01-29 17:05:12 +13:00
Rob Bygrave and GitHub
d58c56484e
Merge pull request #2517 from FOCONIS/fix-datasource
...
FIX: Datasource was not initialized in offline mode.
2022-01-29 15:28:53 +13:00
Rob Bygrave and GitHub
75a27fa2d6
Merge pull request #2511 from FOCONIS/unselect-lobs
...
Unselect LOBs when making a distinct select
2022-01-29 15:25:00 +13:00
Rob Bygrave and GitHub
b33914ab2f
Merge pull request #2526 from FOCONIS/db2/no-null-values
...
DB2: Do not try to update deferred null values (Discovered by TestPrinterStateIssue)
2022-01-29 15:15:33 +13:00
Rob Bygrave and GitHub
d571a6c354
Merge pull request #2525 from FOCONIS/db2/truncate
...
DB2: truncate needs commit after each statement
2022-01-29 15:13:29 +13:00
Rob Bygrave and GitHub
5a024ea19f
Merge pull request #2519 from FOCONIS/db2/fix-default-values
...
DB2: Fix default values for auto generated ids
2022-01-29 15:06:54 +13:00
Roland Praml
ba21eeaadb
DB2: Do not try to update deferred null values (Discovered by TestPrinterStateIssue)
2022-01-28 10:59:16 +01:00
Roland Praml
3b30708dfc
DB2: truncate needs commit after each statement
2022-01-28 10:56:01 +01:00
Roland Praml
0310601e31
DB2: Fix getGenerateKeys (ungly workaround)
2022-01-28 10:06:34 +01:00
Roland Praml
e529232f76
DB2: Fix insert default values
2022-01-28 09:47:04 +01:00
Roland Praml
d982ac73b7
DB2: Fix Concat operator
2022-01-28 09:38:41 +01:00
Roland Praml
ddaff81b9c
FIX: Datasource was not initialized in offline mode.
2022-01-28 09:29:12 +01:00
Rob Bygrave
64605b5090
Yugabyte platform support - Automatic detection and DDL support
...
- Automatic detection similar to Cockroach
- DDL very similar to Postgres but no CREATE TABLE LIKE support (for history DDL)
2022-01-28 17:04:19 +13:00
Rob Bygrave
44462e3513
Add maxInBinding - Oracle support for large delete by ids
2022-01-28 09:46:03 +13:00
Roland Praml
5b63434f13
reindent code and linked #2514
2022-01-27 16:43:35 +01:00
Roland Praml
48c8f5e2ca
ADD: different DB2 platforms
2022-01-27 10:09:31 +01:00
Noemi Szemenyei and Roland Praml
69a753fc4f
DB2:Unselect LOBs when making a distinct select
2022-01-27 08:34:51 +01:00
Roland Praml
b9ba6b2db5
DB2: Adapted Noemi's patch to new ebean version
2022-01-27 07:57:35 +01:00
Rob Bygrave and GitHub
1dc5ecc81f
Merge pull request #2506 from FOCONIS/fix-localdate-databind
...
DB2: Fix: DataBind/Read of native LocalDates
2022-01-27 09:02:04 +13:00
Rob Bygrave and GitHub
c39661e2c2
Merge pull request #2505 from FOCONIS/refactor-uuid-v1-generator
...
Refactor UUID generator. Add uuid-property to serverConfig (#57 )
2022-01-27 08:55:48 +13:00
Roland Praml and Roland Praml
1982027300
Organized imports
2022-01-26 16:55:50 +01:00
Roland Praml and Roland Praml
2e1a6eec04
DB2: Fix: DataBind/Read of native LocalDates
2022-01-26 16:51:55 +01:00
Roland Praml and Roland Praml
e5f37e638c
Refactor UUID generator. Add uuid-property to serverConfig ( #57 )
...
Co-authored-by: Roland Praml <roland.praml@foconis.de >
2022-01-26 12:05:12 +01:00
Roland Praml
7ffea8e922
FIX: DeleteBatch for SQLServer
2022-01-26 11:59:35 +01:00
Rob Bygrave and GitHub
0087eabb4e
Merge pull request #2502 from FOCONIS/fix-composite-id-in-select-distinct
...
Fix: composite id in select distinct queries
2022-01-26 22:22:18 +13:00
Rob Bygrave
17df5a2c16
Merge branch 'master' into wip/h2database-v2
2022-01-26 22:07:20 +13:00
Rob Bygrave
23061473c7
Refactor internals split result load functionality from SqlTreeNode into SqlTreeLoad
2022-01-26 22:00:28 +13:00
Noemi Szemenyei
dd26dc342d
FIX: select properties of the embedded Id
...
(cherry picked from commit 58e952b1ec )
2022-01-25 09:42:27 +01:00
Rob Bygrave and GitHub
bc6d2fb3be
Merge branch 'master' into wip/h2database-v2
2022-01-25 21:30:36 +13:00
Rob Bygrave
a9dbc036e9
Support H2database 2.x
2022-01-25 21:28:09 +13:00
Rob Bygrave
8d29a3a575
Bind LocalDate directly using JDBC driver to convert
...
This addresses issues with dates before 1900-01-01 with H2Database
2022-01-25 21:27:32 +13:00
Rob Bygrave
38f1967e60
#2473 - Oracle - column alias - Change such that OraclePlatform doesn't use column alias
...
So with #2254 we regressed OraclePlatform to use column alias. This really should have introduced an Oracle12 platform instead. 18c onwards and we don't want the column alias.
2022-01-17 22:10:21 +13:00