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 and Roland Praml
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
Noemi Szemenyei
12e993729c
automatische Ermittlung von columnDefs
2022-02-18 10:35:27 +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
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 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
Roland Praml
21a7a2c032
FIX: Datasource was not initialized in offline mode.
2022-01-28 09:26:08 +01:00
Roland Praml
4493f1b266
Merge remote-tracking branch 'upstream/master'
...
# Conflicts:
# ebean-api/pom.xml
# ebean-api/src/main/java/io/ebean/config/dbplatform/db2/BaseDB2Platform.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
2022-01-28 07:53:45 +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
Roland Praml
fc1ae308b5
Merge branch 'unselect-lobs'
...
# Conflicts:
# ebean-api/src/main/java/io/ebean/config/dbplatform/db2/DB2Platform.java
# ebean-core/src/main/java/io/ebeaninternal/server/deploy/BeanProperty.java
# ebean-core/src/main/java/io/ebeaninternal/server/query/STreeProperty.java
# ebean-core/src/main/java/io/ebeaninternal/server/query/SqlTreeNode.java
# ebean-test/src/test/java/io/ebeaninternal/server/idgen/TestUuidGenerator.java
# ebean-test/src/test/java/org/tests/json/TestJsonMapBasic.java
2022-01-27 09:00:10 +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
eaa4371641
Minor fixes
2022-01-26 17:02:59 +01:00
Roland Praml and Roland Praml
1982027300
Organized imports
2022-01-26 16:55:50 +01:00