Robin Bygrave
f53d31aa2e
No functional change - final field for BatchControl
2021-04-01 12:22:45 +13:00
rob bygrave
09d772a5e5
[maven-release-plugin] prepare for next development iteration
2021-03-31 00:06:13 +13:00
rob bygrave
f7035eb228
[maven-release-plugin] prepare release ebean-parent-12.8.1
ebean-parent-12.8.1
2021-03-31 00:06:04 +13:00
Robin Bygrave
1bf09ddd38
#2211 - Improve javadoc for queryPlanTTLSeconds
...
Hopefully people understand it is unrelated. Unfortunately we now have some properties with similar names so maybe we need a better name for this sometime in the future.
2021-03-30 23:49:44 +13:00
Robin Bygrave
a8bf27da55
#2211 - Improve query plan capture - Align config property names
...
collectQueryPlans -> queryPlanEnable
collectQueryPlanThresholdMicros -> queryPlanThresholdMicros
properties keys:
ebean.collectQueryPlans -> ebean.queryPlan.enable
ebean.collectQueryPlanThresholdMicros -> ebean.queryPlan.thresholdMicros
This then aligns all the queryPlan related properties together which is important in order to avoid confusion.
2021-03-30 23:44:30 +13:00
Robin Bygrave
ee8bb5ef75
#2211 - Improve query plan capture - Add default mechanism to log captured query plans
2021-03-30 23:19:21 +13:00
Robin Bygrave
bcfd9cab1d
#2210 - Improve query plan capture - bump threshold multiplier to 1.5
2021-03-30 16:05:42 +13:00
Robin Bygrave
2a5fd7f3a9
#2210 - Improve query plan capture - ability to change default threshold micros
2021-03-30 16:02:27 +13:00
Robin Bygrave
f8c37772d4
Tidy internals of DefaultServer with @Nonnull, <>, Collections.singleton(), remove unused queryBatchSize
2021-03-30 10:23:28 +13:00
Robin Bygrave
d988dbe69d
#2209 - Registering [default] as the default server but [default] is already registered as the default exception with hot-reload
2021-03-30 09:56:48 +13:00
rob bygrave
5cb9b9b237
#2208 - When using fetchCache() with a single id / findOne ... doesn't hit L2 cache
...
Plus #2207 ENH: Query beans add support for nested FetchGroup
2021-03-29 23:21:07 +13:00
rob bygrave
819d391495
Bump agent maven plugin to 12.8.1
2021-03-26 20:31:57 +13:00
rob bygrave
1f0ed629a7
Bump java8-oss to 3.1 with removal of --illegal-access=permit argLine
2021-03-26 20:31:03 +13:00
rob bygrave
91044d0a75
javadoc only - improve javadoc for DatabaseConfig.loadFromProperties()
2021-03-25 23:13:51 +13:00
rob bygrave
57736185d0
#2206 - Postgres DDL generation - for create index use "if not exists" clause
2021-03-25 23:13:15 +13:00
Robin Bygrave
8992980689
#2206 - Postgres DDL generation - for create index use "if not exists" clause
2021-03-25 16:45:44 +13:00
rob bygrave
f341ff0167
#2205 - [oracle] Incorrect DDL generated for alter table add column
2021-03-23 23:58:28 +13:00
rob bygrave
abfa841ed7
#2205 - [oracle] Incorrect DDL generated for alter table add column
2021-03-23 23:51:07 +13:00
Rob Bygrave and GitHub
e68adf53bc
Merge pull request #2204 from ebean-orm/feature/Honor-setLazyLoadBatchSize
...
Honor setLazyLoadBatchSize() when using FetchConfig.ofLazy() of unspecified size
2021-03-23 23:25:08 +13:00
Robin Bygrave
562d175de1
With FetchConfig.ofLazy() honor query.setLazyLoadBatchSize()
...
Use 0 for default lazy batch such that it honors a value set via query.setLazyLoadBatchSize()
2021-03-23 23:17:07 +13:00
Robin Bygrave
b5cef354ad
Refactor simplify LoadContext.getSecondaryQueriesMinBatchSize()
...
No functional change here. Just move the constant into DLoadContext.
2021-03-23 14:53:30 +13:00
Rob Bygrave
09a887aeb7
#2203 - Support use of Java Record type with @Entity, @Embeddable @IdClass
...
Add tests for IdClass use of record type
2021-03-23 00:19:52 +13:00
Rob Bygrave
53c903fa48
#2203 - Support use of Java Record type with @Entity, @Embeddable @IdClass
...
Add tests for EmbeddedId use of record type
2021-03-23 00:10:28 +13:00
Rob Bygrave
548454c90d
#2203 - Support use of Java Record type with @Entity, @Embeddable @IdClass
...
Add tests for embedded use of record type
2021-03-22 23:57:14 +13:00
Rob Bygrave
94bab5f83b
#2203 - Support use of Java Record type with @Entity, @Embeddable @IdClass
...
Add tests for entity use of record type
2021-03-22 23:44:10 +13:00
Rob Bygrave
78965c1ac4
#2203 - Support use of Java Record type with @Entity, @Embeddable @IdClass
...
Allow java.lang.Record to be a root level parent for entity beans etc
2021-03-22 23:43:35 +13:00
Rob Bygrave
00b0fcaeb3
#2202 - kotlin-maven-plugin issue with JDK 16
...
Temporary modify tests to not invoke the kotlin-maven-plugin while adding JDK 16 specific tests.
Hitting error InaccessibleObjectException: Unable to make protected void java.util.ResourceBundle.setParent(java.util.ResourceBundle) accessible: module java.base does not "opens java.util" to unnamed module @62732be7
2021-03-22 23:24:16 +13:00
rob bygrave
f7905c8e94
[maven-release-plugin] prepare for next development iteration
2021-03-18 22:30:17 +13:00
rob bygrave
7ab7b612f6
[maven-release-plugin] prepare release ebean-parent-12.8.0
ebean-parent-12.8.0
2021-03-18 22:23:34 +13:00
rob bygrave
ce1d2803ce
Bump test wait time for redis
2021-03-18 22:18:34 +13:00
rob bygrave
9b066e4eac
Bump version to 12.8.0-SNAPSHOT
2021-03-18 21:26:50 +13:00
Robin Bygrave
e1f9d106f0
Additional tests for #2191 query findEach batch consumer
2021-03-18 17:12:21 +13:00
Robin Bygrave
e40a539406
#2200 - ENH: Add DtoQuery findEach with batch consumer - findEach(int batchSize, Consumer<List<T>> consumer)
2021-03-18 17:02:41 +13:00
Robin Bygrave
bb73c30bb7
#2199 - ScalarTypeWrapper doesn't handle "nullValue" correctly
...
Fix for - standard JPA AttributeConverter which doesn't have the getNullValue method, he/she can't convert null to a custom null object
AttributeConverterAdapter probes the AttributeConverter for the nullValue rather than just assuming it is null.
2021-03-18 16:14:46 +13:00
Robin Bygrave
2e16f05a70
#2199 - ScalarTypeWrapper doesn't handle "nullValue" correctly
...
Handles the case for ScalarTypeConverter with custom null value and binding the custom null value (via query parameter, CallableSql parameter etc)
2021-03-18 10:03:35 +13:00
Robin Bygrave
1837c3443d
#2186 - Invalid generated table and column names of @ManyToMany relation with allQuotedIdentifiers=true
2021-03-17 21:02:59 +13:00
Rob Bygrave and GitHub
bd1060ff28
Merge pull request #2198 from ebean-orm/sebastian-mrozek-feature/json-assert-compare-arrays
...
Feature/json assert compare arrays
2021-03-16 22:06:28 +13:00
Robin Bygrave
c9968a9662
Change JsonAssertContains array matching to match on size
2021-03-16 22:03:12 +13:00
Robin Bygrave
e3001e8bdd
Fix JsonAssertContains testContainsFails with missing parts of JSON
...
Just add missing parts of test/resources/original.json and original-subset-modified.json
2021-03-16 09:30:54 +13:00
Robin Bygrave
82bb2b4567
Merge branch 'feature/json-assert-compare-arrays' of https://github.com/sebastian-mrozek/ebean into sebastian-mrozek-feature/json-assert-compare-arrays
2021-03-16 09:14:06 +13:00
Robin Bygrave
f483002e39
#2197 - [ebean-redis] - Bump jedis dependency to 3.5.2 (from 3.4.0
2021-03-16 09:13:01 +13:00
Robin Bygrave
c2a87a0c88
#2196 - SQLException:Column "T0.ID" must be in the GROUP BY list - when findCount with having clause
2021-03-15 22:43:25 +13:00
Robin Bygrave
733886c70b
#2195 - @Aggregation on OneToMany property not mapping to column properly
2021-03-15 22:03:14 +13:00
sebastian-mrozek
899fdca995
Improve assertions in case json compare does not fail as expected
...
Remove sys out print.
2021-03-15 13:04:05 +13:00
sebastian-mrozek
4731ee034e
Handle searching for matching elements in an array
...
Add unit tests.
Refactor internals to allow reusing assertion method for finding matches in an array.
2021-03-15 12:51:36 +13:00
Robin Bygrave
e6faf9efd1
#2193 - Prevent registration of 2 default servers (2 Database that have defaultServer=true)
2021-03-11 23:21:44 +13:00
Rob Bygrave and GitHub
d75d1fce43
Change ModuleInfoLoader API and querybean-generator for named default database ( #2190 )
...
Currently we can not use @DbName with the entities of the default database. With this change the generated code that registers entity classes will support using @DbName with the default database.
2021-03-11 20:42:25 +13:00
sebastian-mrozek
ef3980a3ee
Add test resources
2021-03-11 13:47:46 +13:00
sebastian-mrozek
2a1c170aa4
Add test for shuffled array comparison
2021-03-11 13:44:59 +13:00
Rob Bygrave and GitHub
d65e769dd7
Merge pull request #2191 from ebean-orm/feature/findEachBatch
...
ENH: Add Query findEach() with batch consumer
2021-03-11 13:34:58 +13:00