Commit Graph
250 Commits
Author SHA1 Message Date
Roland Praml f18b72cc83 Merge branch 'tmp2' into ebean-new 2022-01-03 15:52:50 +01:00
Roland Praml b7905eb0f6 reverted runDdl and runMigration method. 2022-01-03 13:17:28 +01:00
Roland Praml c1b928015b Merge branch 'tmp2' into api-to-run-ddl-manually 2022-01-03 10:42:15 +01:00
Roland Praml 5e5283d8d3 Intermediate commit 2022-01-03 10:20:21 +01:00
Cédric Sougné 9ddf1333ed Fix locale problem with TestCsvReader and TestCsvReaderWithCallback. 2021-12-23 17:19:44 +01:00
tFellner 42594533da Support for Sequences in MariaDB (#2304)
* Support for Sequneces in MariaDB

* clean up readSequenceValue in test class

* remove flakiness

* remove change for later discussion

* replace deprecated methods

* strictly allow sequences
2021-12-20 16:11:30 +13:00
Rob Bygrave 361df6732a #2472 - BeanPersistController and isCascade() for delete requests (following #2458) 2021-12-20 15:49:58 +13:00
Roland Praml 39140ae3dc Merge branch 'api-to-run-ddl-manually' into ebean-new
# Conflicts:
#	ebean-api/src/main/java/io/ebean/Database.java
#	ebean-core/src/main/java/io/ebeaninternal/server/core/DefaultServer.java
#	ebean-ddl-generator/src/main/java/io/ebeaninternal/dbmigration/DdlGenerator.java
2021-12-17 14:12:42 +01:00
Roland Praml f4d270e8b5 FIX: JDBC URL for SqlServer (similar to testconfig-files) 2021-12-17 13:26:00 +01:00
Roland Praml eb6aacce4b Provide API to run ddl and migration manually (e.g. with offline DB) 2021-12-17 12:04:27 +01:00
Roland Praml d6dde2f63d Provide API to run ddl and migration manually (e.g. with offline DB) 2021-12-17 11:57:23 +01:00
Rob Bygrave 860aad11ce WIP h2database v2 2021-12-17 23:22:25 +13:00
Roland Praml 6b0d04547e Merge remote-tracking branch 'upstream/master' into ebean-new
# Conflicts:
#	ebean-api/pom.xml
#	ebean-api/src/main/java/io/ebean/config/dbplatform/db2/DB2Platform.java
#	ebean-autotune/pom.xml
#	ebean-bom/pom.xml
#	ebean-core-type/pom.xml
#	ebean-core/pom.xml
#	ebean-core/src/main/java/io/ebeaninternal/server/type/DefaultTypeManager.java
#	ebean-ddl-generator/pom.xml
#	ebean-externalmapping-api/pom.xml
#	ebean-externalmapping-xml/pom.xml
#	ebean-postgis/pom.xml
#	ebean-querybean/pom.xml
#	ebean-redis/pom.xml
#	ebean-test/pom.xml
#	ebean-test/src/test/resources/ebean.properties
#	ebean-test/testconfig/ebean-mariadb-10.3.properties
#	ebean-test/testconfig/ebean-mariadb.properties
#	ebean-test/testconfig/ebean-mysql.properties
#	ebean-test/testconfig/ebean-sqlserver17.properties
#	ebean/pom.xml
#	kotlin-querybean-generator/pom.xml
#	pom.xml
#	querybean-generator/pom.xml
2021-12-17 08:27:59 +01:00
Roland Praml e5036990f2 Revert "ENH: allow server startup without running ddl and thus allowing starting with the database not yet up and later lazily initializing the database and running ddl"
This reverts commit af0f9a4d15.
2021-12-17 08:13:02 +01:00
Rob Bygrave 1a6a426683 #2458 - Add BeanPersistController.isCascade() to identify cascade vs "top level" persist requests 2021-12-17 10:43:27 +13:00
maTrojak fa2c5c0584 recalc lazyload duplicate key (#53) 2021-12-15 08:13:16 +01:00
Jonas Pöhler 21d4ee2fb6 FIX: Package names for EntityOverride/Interface 2021-12-10 10:58:29 +01:00
Rob Bygrave 9bdcd6c55e #2452 - server-wide defaultJsonMutation SOURCE is not honored by DbJson scalar types (e.g. List<String>) 2021-12-07 18:13:17 +13:00
Rob Bygrave b9f3ff24e9 Tidy test only - BasicProfileLocationTest 2021-12-07 15:25:02 +13:00
Rob Bygrave 9752eced1f Adjust tests for JDK 18-ea build 2021-12-07 15:24:19 +13:00
Rob Bygrave 9d26ab2103 Adjust tests for JDK 18-ea build 2021-12-07 15:15:21 +13:00
Roland Praml 84ac737ceb ADD: Testcase for Calendar 2021-12-02 10:42:49 +01:00
Rob Bygrave 466a616f3e Merge pull request #2445 from FOCONIS/improve-testing
Improve testing, add DB2 Docker testing support to ebean-test
2021-12-01 09:35:45 +13:00
Noemi Szemenyei 25bc0e947d NPE Fix with .setCountDistinct(CountDistinctOrder.NO_ORDERING) 2021-11-30 10:21:34 +01:00
Roland Praml 4152ae9814 FIX: Backward compatibility to ebean 11 2021-11-29 13:30:56 +01:00
Roland Praml 3883db84b5 FIX: sendTimeAsDateTime=false for SqlServerSetup 2021-11-29 11:42:58 +01:00
Roland Praml 879426f943 Ignoring DatesAndTimesTest for postgres as it is not our target platform 2021-11-29 11:35:53 +01:00
Roland Praml d1167cd590 remove obsolete assignments 2021-11-29 11:04:08 +01:00
Roland Praml 6ee650ea5f Do not shutdown main DB 2021-11-29 11:03:17 +01:00
Roland Praml 34d065a4f1 remove obsolete test 2021-11-29 10:37:00 +01:00
Roland Praml 7769b3070b CHANGE: Use default-DB for test-case setup 2021-11-29 10:19:35 +01:00
Roland Praml f4a1b654ad FIX: calendar issues 2021-11-29 10:01:57 +01:00
Roland Praml f58ea1644c FIX: adjusted test for things that are justifiable 2021-11-29 09:35:22 +01:00
Roland Praml a97fb22c33 Revert "Disabled tests that are not relevant @foconis"
This reverts commit ed83d8d5a3.
2021-11-29 09:05:12 +01:00
Roland Praml ed83d8d5a3 Disabled tests that are not relevant @foconis 2021-11-29 08:47:45 +01:00
Noemi Szemenyei 8cd2869f3f add faling test case for time properties 2021-11-29 08:07:59 +01:00
Roland Praml d6db42734e ADD: Db2 container support 2021-11-29 08:03:09 +01:00
Roland Praml dfb1d6ab54 ADD: Db2 container support 2021-11-26 15:01:15 +01:00
Rob Bygrave 28d4d07966 test config only, stop dumping metrics on jvm shutdown 2021-11-26 21:52:40 +13:00
Rob Bygrave c3e91fed65 Tidy TestElementCollectionBasicSet only 2021-11-26 21:33:26 +13:00
Rob Bygrave 8a25a7b6ec #2444 - exists and findCount queries produce NPE on entity defined with IdClass - SqlTreeProperties.add(SqlTreeProperties.java:38) 2021-11-26 21:10:31 +13:00
Rob Bygrave a9c6cd15a1 #2433 - Postgres JSONB dirty checking - trim json 2021-11-26 16:39:09 +13:00
Rob Bygrave 63b9b42dc8 #2433 - Postgres JSONB dirty checking - trim json 2021-11-26 16:34:15 +13:00
Rob Bygrave d05a77e755 reset test datasource back to h2 2021-11-26 14:48:45 +13:00
Rob Bygrave 07f9bf98c3 #2436 - SQL Update doesn't handle named parameters for array types in Postgres 2021-11-26 14:46:06 +13:00
Rob Bygrave 9af64f61f7 #2435 - Fix DBArray is not loaded in asDto Postgres queries 2021-11-26 14:32:47 +13:00
Rob Bygrave c1a78d3c8b Merge branch 'master' of https://github.com/majkiw/ebean into majkiw-master 2021-11-25 18:53:28 +13:00
Noemi Szemenyei ba80ae20f4 NPE Fix with .setCountDistinct(CountDistinctOrder.NO_ORDERING) 2021-11-22 08:30:50 +01:00
Noemi Szemenyei 6ea8f5c12b Merge branch 'master' of https://github.com/ebean-orm/ebean into ebean-new
# Conflicts:
#	ebean-core/src/main/java/io/ebeaninternal/server/core/OrmQueryRequest.java
#	ebean-core/src/main/java/io/ebeaninternal/server/deploy/AssocOneHelpRefInherit.java
#	ebean-core/src/main/java/io/ebeaninternal/server/deploy/BeanDescriptor.java
#	ebean-core/src/main/java/io/ebeaninternal/server/querydefn/OrmQueryPropertiesParser.java
2021-11-22 08:07:30 +01:00
Rob Bygrave 34135360ed Merge pull request #2442 from FOCONIS/findmap-with-beancache-without-mapkey
findMap() with beanCache should use idPoperty if mapKey = null
2021-11-22 15:15:07 +13:00