Commit Graph
285 Commits
Author SHA1 Message Date
Alexander Wagner 928c773066 Possible fix
(cherry picked from commit 90066eee0c)
2022-02-11 10:33:01 +01:00
Alexander Wagner 1570e1800d Bug: save with cascade of @OneToOne + @Version model sets version to 1 2022-02-08 16:04:49 +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
Roland Praml 4cbed9645e Disabled YUGABYTE test 2022-02-07 10:41:51 +01:00
Roland Praml 9b19db635f ADD: Yugabyte support 2022-02-07 10:22:50 +01:00
Roland Praml bf4ccefc75 Fixes for Mutli-Platform test 2022-02-07 09:08:39 +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
Rob Bygrave b8b83c2ec8 Update more tests for CockroachDB 2022-02-04 16:59:16 +13:00
Rob Bygrave b3f110b7a5 CockroachDB - Modify tests, use BigDecimal over Double etc 2022-02-04 10:42:07 +13:00
Rob Bygrave daf0ba67a4 #2547 - CockroachDB - Use ON DISTINCT ... like Postgres and Yugabyte 2022-02-04 08:58:21 +13:00
Rob Bygrave cf3499f0e4 #2547 - Update BaseTestCase to include CockroachDB 2022-02-04 08:41:34 +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 835937cbdb Disabled dbmigrationtest for postgres 2022-02-03 15:14:45 +01:00
Roland Praml 1b10b4e742 Merge remote-tracking branch 'upstream/master' 2022-02-03 14:56:55 +01:00
Roland Praml e6b59eb6a5 Run init 2022-02-03 14:51:45 +01:00
Roland Praml 983bf5ecdd Migration scripts for mariadb 2022-02-03 14:50:29 +01:00
Roland Praml fca9591d0c again some platform fixes 2022-02-03 13:46:14 +01:00
Roland Praml 575deb0f5a Fix migration test for different platforms 2022-02-03 13:38:26 +01:00
Roland Praml 23f97356e5 FIX: platform.base problem 2022-02-03 13:15:19 +01:00
Roland Praml 0442bd0704 Disabled test for github 2022-02-03 09:31:29 +01:00
Roland Praml eceda2c210 Disabled more tests for github 2022-02-03 09:27:44 +01:00
Roland Praml 582221aa0a Move complete 2022-02-03 09:21:15 +01:00
Roland Praml bc4713c5fc DB2 generated in db2luw folder 2022-02-03 08:33:38 +01:00
Roland Praml 5586563911 Disabled test, that fails on github 2022-02-03 08:09:38 +01:00
Roland Praml f83e204b22 regenerated migration scripts 2022-02-03 08:02:08 +01:00
Roland Praml 3fc11a6434 Moved DbMigrationTest/DbMigrationGenerateTest to ebean-test 2022-02-03 07:59:09 +01:00
Rob Bygrave 8e05956f6b Default tests to use H2 2022-02-02 23:39:15 +13:00
Rob Bygrave 94951a5476 Yugabyte - use distinct on clause with Yugabyte (like Postgres) 2022-02-02 23:38:50 +13:00
Rob Bygrave 389f2bcd2f Modify tests to use isPostgresCompatible() (to effectively include Yugabyte) 2022-02-02 23:25:13 +13:00
Roland Praml c1cdfb41f6 FIX flaky test (Thread.sleep(10) sleeps sometimes only 9.5 ms) 2022-02-02 11:12:43 +01: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 771e9ff069 Tidy tests only - EqlParserTest, EbeanServer_deleteAllByIdTest 2022-02-02 23:00:06 +13:00
Rob Bygrave d6a8643fe4 Support @DbArray of BigDecimal 2022-02-02 22:22:42 +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 17fed0ebd8 Tidy test only - TestNestedBeginRequiresNew 2022-02-01 15:18:06 +13:00
Rob Bygrave a412873da6 ebean-test - bump Postgres default container to 14 2022-02-01 13:36:37 +13:00
Rob Bygrave 6d0f5aea82 Yugabyte - ebean-test support via ebean.test.platform=yugabyte 2022-02-01 13:26:05 +13:00
Rob Bygrave 13cfaba0c8 Yugabyte - Disable commit and continue test for Yugabyte (failing occasionally, need to review) 2022-02-01 11:55:26 +13:00
Rob Bygrave 1fa92efb63 Yugabyte - Adjust DbJsonTest wrt ordering in content, use JSON assertContainsResource()
Highlights that the DbJson assertContains() asserts are better longer term approach (over content matching asserts)
2022-02-01 11:55:15 +13:00
Rob Bygrave bc477c64cb Yugabyte - Disable commit and continue test for Yugabyte (failing occasionally, need to review) 2022-02-01 11:53:03 +13:00
Rob Bygrave 804098149e Yugabyte - Tidy tests with element collections not maintaining ordering 2022-02-01 11:51:46 +13:00
Rob Bygrave 567ad92050 Yugabyte - Tidy tests 2022-02-01 10:41:29 +13:00
Rob Bygrave b4ddbe38ee Yugabyte - Fix some tests for running against Yugabyte 2022-02-01 09:49:23 +13:00
Rob Bygrave 1359d534d5 Yugabyte - Use Postgres ScalarTypes for JSON/JSONB but not HSTORE 2022-01-29 17:05:12 +13:00
Rob BygraveandGitHub 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 BygraveandGitHub 75a27fa2d6 Merge pull request #2511 from FOCONIS/unselect-lobs
Unselect LOBs when making a distinct select
2022-01-29 15:25:00 +13:00