Rob Bygrave
267b1b7303
#2580 - Fix for Wrong join in query with @Inheritance
...
Effectively delays an extra join added via BeanPropertyAssocOne with inheritance, such that this only occurs if a SqlTreeNode child doesn't add the join.
2022-03-14 15:37:12 +13:00
Rob Bygrave
c902caed24
Fix is to delay the extra join added via BeanPropertyAssocOne until after the children nodes have joined.
...
In this way the join is ONLY added if not already done so via a child node (SqlTreeNode).
2022-03-14 15:32:42 +13:00
Rob Bygrave
febd56c9c0
#2581 - SoftDelete on @OneToMany is ignored after refresh() (since 12.11.5)
2022-03-10 16:19:11 +13:00
Noemi Szemenyei
b41b6da40e
iterator.remove() is not needed
2022-03-04 08:20:44 +01:00
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
61f5442e3b
#2579 - Bump to ebean-migration 12.16.0, support both basePlatform and platform for finding/running migrations
...
Fix ebean-migration-auto.version to 1.2
2022-03-02 12:30:32 +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
Rob Bygrave
49fde7654e
Bump to 12.16.0-SNAPSHOT
2022-03-02 12:17:38 +13:00
Rob Bygrave
eb4d906814
[maven-release-plugin] prepare for next development iteration
2022-03-01 22:47:01 +13:00
Rob Bygrave
2a96a59deb
[maven-release-plugin] prepare release ebean-parent-12.15.1
2022-03-01 22:46:55 +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
Rob Bygrave
8fa8c687e9
Merge pull request #2563 from FOCONIS/platform-specific-columndefinition
...
Different ColumnDefinition for different platforms
2022-02-22 13:13:43 +13:00
Noemi Szemenyei
c2e4f862bc
default columnDef should be calculated from ebean
2022-02-18 10:02:48 +01:00
dependabot[bot]
9974102f1a
Bump postgresql from 42.3.2 to 42.3.3 in /ebean-core
...
Bumps [postgresql](https://github.com/pgjdbc/pgjdbc ) from 42.3.2 to 42.3.3.
- [Release notes](https://github.com/pgjdbc/pgjdbc/releases )
- [Changelog](https://github.com/pgjdbc/pgjdbc/blob/master/CHANGELOG.md )
- [Commits](https://github.com/pgjdbc/pgjdbc/compare/REL42.3.2...REL42.3.3 )
---
updated-dependencies:
- dependency-name: org.postgresql:postgresql
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-02-16 01:19:22 +00: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
db6f2cba75
[maven-release-plugin] prepare for next development iteration
2022-02-03 09:02:38 +13:00
Rob Bygrave
6f694eb6ca
[maven-release-plugin] prepare release ebean-parent-12.15.0
2022-02-03 09:02:30 +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
5a12cc58d1
Bump Postgres test dependencies to 42.3.2
2022-02-02 17:18:14 +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
a1c0e21234
Bump to 12.15.0-SNAPSHOT
2022-02-02 10:59:04 +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
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
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
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
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
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
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