Commit Graph
273 Commits
Author SHA1 Message Date
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
Rob Bygrave b4403c58d1 Merge branch 'assume-infoInherit-infoType-without-children' of https://github.com/FOCONIS/ebean into FOCONIS-assume-infoInherit-infoType-without-children 2021-11-22 15:06:34 +13:00
Rob Bygrave 08e166a9b7 Merge branch 'json-deserialize-references' of https://github.com/FOCONIS/ebean into FOCONIS-json-deserialize-references 2021-11-22 14:51:21 +13:00
Noemi Szemenyei 60d0a3da39 findMap() with beanCache should use idPoperty if mapKey = null 2021-11-19 11:53:37 +01:00
Noemi Szemenyei 3efb552bd9 findMap() with beanCache should use idPoperty if mapKey = null 2021-11-19 11:50:45 +01:00
Noemi Szemenyei 1c224444c0 Assume InfoInherit infoType when it has no children 2021-11-16 13:44:53 +01:00
Jonas Pöhler d3e07defa0 FIX: Json deserialize references 2021-11-16 11:57:30 +01:00
Noemi Szemenyei 1b5d379ed3 Fix for Query with PathProperties (*,x(y)) 2021-11-16 11:45:18 +01:00
Noemi Szemenyei b90393a691 Unittest for select Query with (*,x(y)) 2021-11-16 11:39:14 +01:00
Jonas Pöhler e7cffe99d6 FIX: Json deserialize references 2021-11-12 14:46:39 +01:00
Noemi Szemenyei 0dc2550bdb Assume InfoInherit infoType when it has no children 2021-11-12 10:40:15 +01:00
Noemi Szemenyei 6af2902ae3 Fix for select query with (*,x(y)) 2021-11-10 16:11:42 +01:00
Noemi Szemenyei abf311de93 Unittest for select Query with (*,x(y)) 2021-11-10 13:30:24 +01:00
Jonas Pöhler 0367ae2a8c Merge remote-tracking branch 'ebean/master' into ebean-new
# Conflicts:
#	ebean-api/pom.xml
#	ebean-autotune/pom.xml
#	ebean-bom/pom.xml
#	ebean-core-type/pom.xml
#	ebean-core/pom.xml
#	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/pom.xml
#	kotlin-querybean-generator/pom.xml
#	pom.xml
#	querybean-generator/pom.xml
2021-11-04 10:33:04 +01:00
Jonas Pöhler e08043f3b2 Disable test 2021-11-04 09:50:43 +01:00
Rob Bygrave 2cbb161ed5 Follow up to #2437 - Rename internal "dead/alive" to "replaced" 2021-11-04 10:40:04 +13:00
Roland Praml fd1b5f58bc FIX: Subsequent findEach / findList does not work reliable (Regression of #2411) 2021-11-03 11:34:04 +01:00
Michal Wysocki 39a4035f3b Extra assertions for DBArray in asDTO and sqlUpdate 2021-11-02 13:25:42 +01:00
Jonas Pöhler 499cb68fb0 FIX: defaultMutationDetection for JSON was not properly distributed. Needs proper Unit-Test 2021-10-28 18:05:34 +02:00
Rob Bygrave 704a138ff0 Tidy build.yml and TestExtraScalarTypes 2021-10-28 22:34:55 +13:00
Rob Bygrave d507452d63 Fix test TestExtraScalarTypes for github workflows build 2021-10-28 22:33:28 +13:00
Jonas Pöhler 50824f1d7f NEW: CustomDeployParser 2021-10-22 15:04:46 +02:00
Jonas Pöhler af0f9a4d15 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 2021-10-22 13:59:54 +02:00
Jonas Pöhler 45aa04e086 ADD: EntityImplements and EntityOverride + Tests 2021-10-22 13:46:41 +02:00
Roland Praml d55023dbc7 FIX: When a bean is modified in persistence context and searched again, it will loose the change 2021-10-21 16:50:53 +02:00
Rob Bygrave fcda419abb #2424 Preserve using PersistenceException when transaction register(Callback) called with no active transaction 2021-10-21 12:06:45 +13:00
Rob Bygrave 4d34c9e868 #2424 Change error for transaction register(Callback) when no active transaction from PersistenceException to NullPointerException
Ah ok, so in being more strict on null for currentTransaction() that shows up the code that registers transaction callbacks as checking for null and throwing PersistenceException. This is inconsistent with LOTS of other methods that use currentTransaction() and would result in NPE.

The concept here is that PersistenceException for this case isn't better than NPE and NPE is actually more consistence wrt using currentTransaction().
2021-10-21 12:02:42 +13:00
Rob Bygrave b3ee982b64 Use @NonNullApi to explicitly reflect non-null return types and params by default 2021-10-20 15:45:20 +13:00