Commit Graph
118 Commits
Author SHA1 Message Date
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
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
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
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
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
Rob Bygrave a445557ec3 #2422 - Remove extraneous jsr 305 @Nonnull 2021-10-19 17:59:25 +13:00
Rob Bygrave 5a4924b6cb #2421 - Change database.diff() to return empty map rather than null with null bean argument 2021-10-19 11:58:29 +13:00
Rob Bygrave a61c73c62a #2418 #2420 BeanState.loadErrors() returns empty map
Change Database.beanState() to throw IllegalArgumentException when bean isn't an entity bean
2021-10-19 11:52:36 +13:00
Rob Bygrave e173f6e9a9 Tidy only DefaultPersistenceContext after merge of #2411 2021-10-12 15:10:36 +13:00
Roland Praml 5322ab3e7e Remove: ReadJson.resetContext as it is not used 2021-10-11 17:22:33 +02:00