Rob Bygrave
fd4be0ca59
#2593 - Tidy SqlTreeBuilder to not add duplicate BeanProperties
2022-03-14 16:16:14 +13:00
Rob Bygrave
267a81b792
#25890 - Tidy only, no effective change for BackgroundExecutorWrapper
2022-03-14 15:46:21 +13:00
Rob Bygrave
1615beadd1
Merge branch 'master' of github.com:ebean-orm/ebean
2022-03-14 15:37:52 +13:00
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
Noemi Szemenyei
e0e572a8b4
update
...
(cherry picked from commit dab8ed8a3b )
2022-03-11 13:31:58 +01:00
Noemi Szemenyei
3c7555de36
Provide custom BackgroundExecutorWrapper to pass thread locals
...
(cherry picked from commit 336accf447 )
2022-03-11 13:31:50 +01:00
Noemi Szemenyei
dab8ed8a3b
update
2022-03-11 09:01:25 +01:00
Noemi Szemenyei
336accf447
Provide custom BackgroundExecutorWrapper to pass thread locals
2022-03-10 16:57:56 +01:00
Noemi Szemenyei
fe50738c66
hazelcast 4.1.5 unmodifiable map
2022-03-10 09:59:32 +01: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
34d21a9971
#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 07:55:12 +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
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
b88e4a35f8
Ddl fixes for clickhouse platform
2022-02-25 12:10:54 +01: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
12e993729c
automatische Ermittlung von columnDefs
2022-02-18 10:35:27 +01:00
Noemi Szemenyei
c2e4f862bc
default columnDef should be calculated from ebean
2022-02-18 10:02:48 +01:00
Roland Praml
04d8878689
Merge remote-tracking branch 'upstream/master' into tmp3
...
# Conflicts:
# ebean-test/src/test/java/org/tests/model/tevent/TEventOne.java
2022-02-07 10:51:49 +01:00
NSzemenyei and Roland Praml
4fe6f0cb13
NEU: Db2 Tablespaces ( #59 )
...
* first commit
* second commit, it works for db2
* create table index in TS
* IndexTS & runPlacholdersMap
* Zwischencommit
* Implemented Tablespaces
* Update PR
* Zwischencommit
* release.md
* add lobTablespace support
* ebean-annotation 7.7
* create index in TS ausgebaut
* Fix Mergekonflikte
* Migrationsskripte neu generiert
* Revert "Migrationsskripte neu generiert"
This reverts commit 2690718b92701c0f34661d309c129b97e3cbe053.
* Revert "Fix Mergekonflikte"
This reverts commit e073e25048af88205259fd6b0873c4227b27d205.
* revert merge commit
* Resolved merge commits
* FIX: More merge conflicts and compile errors
* FIX: platform.base problem
* tableName uppercase
* Reviewkommentare Teil 1
* Reviewkommentare Teil 2
* DbMigrationTest für DB2 gefixt
* revert whitespaces
* Review
* review
Co-authored-by: Roland Praml <roland.praml@foconis.de >
2022-02-04 13:04:34 +01:00
Roland Praml
09b124a37b
Match also on base platform
2022-02-04 08:55:56 +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
Roland Praml
1b10b4e742
Merge remote-tracking branch 'upstream/master'
2022-02-03 14:56:55 +01:00
Rob Bygrave
94951a5476
Yugabyte - use distinct on clause with Yugabyte (like Postgres)
2022-02-02 23:38:50 +13:00
Roland Praml
0f01965a7b
Removed onPersistTrigger
2022-02-02 11:11:19 +01: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
Roland Praml
090f3cddb8
Merge remote-tracking branch 'upstream/master'
...
# Conflicts:
# ebean-bom/pom.xml
# ebean-core/src/main/java/io/ebeaninternal/server/persist/BatchedPstmt.java
# ebean-ddl-generator/src/main/java/io/ebeaninternal/dbmigration/ddlgeneration/platform/DB2Ddl.java
# ebean-ddl-generator/src/test/resources/dbmigration/migrationtest/db2/1.1.sql
# ebean-ddl-generator/src/test/resources/dbmigration/migrationtest/db2/1.3.sql
# ebean-ddl-generator/src/test/resources/dbmigration/migrationtest/db2/idx_db2.migrations
# ebean-test/src/test/java/org/tests/basic/TestMetaAnnotation.java
# ebean-test/src/test/java/org/tests/model/basic/cache/TestCacheViaComplexNaturalKey3.java
# tests/test-java16/pom.xml
# tests/test-kotlin/pom.xml
2022-02-02 09:43:41 +01:00
Roland Praml
66c8008ddb
Experimental: bean can be used as JSON target
2022-02-02 09:00:15 +01: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
Roland Praml
4251383ab8
FIX: ignore elementCollections
2022-02-01 09:53:52 +01: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