Robin Bygrave
9d54b264ad
#2219 - Compile error with ZonedDateTime and query beans - type argument java.time.ZonedDateTime is not within bounds of type-variable D
2021-04-19 17:04:57 +12:00
rbygrave
65b282a056
[maven-release-plugin] prepare for next development iteration
2021-04-09 17:49:16 +12:00
rbygrave
fc174c8988
[maven-release-plugin] prepare release ebean-parent-12.8.2
ebean-parent-12.8.2
2021-04-09 17:49:07 +12:00
rbygrave
06802896ef
#2213 Bump agent for @Transactional(autoPersistUpdates = TxOption.ON)
2021-04-09 16:17:58 +12:00
Robin Bygrave
7f13ac9e5e
#2213 - Support autoPersistUpdates via TxScope
2021-04-08 23:15:49 +12:00
Rob Bygrave and GitHub
4a1374d22d
Merge pull request #2213 from ebean-orm/feature/transparentPersistence
...
Initial experimental support for autoPersistUpdates / "transparent persistence"
2021-04-08 23:03:05 +12:00
rbygrave
4ee8d647b7
No effective change - tidy test TestCustomerFinder
2021-04-07 23:28:53 +12:00
rbygrave
59793f3c01
Improve javadoc for Transaction#setGetGeneratedKeys
...
More clearly document the limitation that we can't update beans that don't have id values
2021-04-07 15:50:04 +12:00
rbygrave
f7f383d8f3
No effective change - tidy tests TestRawSqlPositionedParams, TestRawSqlUnparsedQuery
2021-04-07 13:38:34 +12:00
rbygrave
562a3959b6
Merge branch 'master' of github.com:ebean-orm/ebean
2021-04-06 21:14:21 +12:00
rbygrave
bb1275f4f9
#2217 - Inserting an entity bean is skipped with a String @Id property and no other properties set
2021-04-06 21:13:59 +12:00
Rob Bygrave and GitHub
7fde6b9331
Merge pull request #2216 from ebean-orm/feature/2177-take2
...
#2177 - Fix where schema not provided by JDBC driver
2021-04-06 20:13:24 +12:00
rbygrave
3e97a4005a
Change TestCustomerFinder drop query plan threshold for tests only
2021-04-06 20:09:09 +12:00
Rob Bygrave and GitHub
c271760230
Merge pull request #2215 from PromanSEW/patch-1
...
Fix copy/paste typo in javadoc for endOr()
2021-04-06 20:00:02 +12:00
rbygrave
f7c1845f0c
#2177 - Fix where schema not provided by JDBC driver
...
For @Table with schema, using findNative with a JDBC driver that does not provide the schema this fix matches by just using the table name.
2021-04-06 19:58:02 +12:00
Roman Parshikov and GitHub
9b04f20ed3
Fix copy/paste typo
2021-04-06 13:32:57 +08:00
Rob Bygrave and GitHub
62b6b6293b
Merge pull request #2214 from cit-consulting/fix_with_lock
...
Explicit locking method withLock() is unaccessible on query beans
2021-04-06 08:27:38 +12:00
Vladimir Konkov
6d8a1c9398
Explicit locking method withLock() is unaccessible on query beans
2021-04-05 21:45:48 +03:00
Robin Bygrave
303039735f
Refactor rename transparentPersistence to autoPersistUpdates
2021-04-01 23:04:22 +13:00
Robin Bygrave
6bcf5c6881
Add DatabaseConfig.autoPersistUpdates for experimental "transparent persistence"
2021-04-01 22:57:34 +13:00
Robin Bygrave
0527f45f5a
For experimental "transparent persistence" - Inserts added to PC
...
When inserting bean with transparent persistence the beans are registered with the persistence context. This is done to support the cases where the beans are inserted, a flush() occurs, the inserted bean is mutated and now dirty - we want that to be detected and get an update
2021-04-01 16:59:03 +13:00
Robin Bygrave
ba397bbb0c
For experimental "transparent persistence" - Delete removes from PC early
...
When delete bean executed with transparent persistence, this marks the bean as removed from the persistence context early.
This avoids a "dirty" deleted bean from being seen as a "dirty" bean in the persistence context at flush() time.
2021-04-01 16:04:18 +13:00
Robin Bygrave
a617d58902
Initial experimental support for "transparent persistence"
...
In short, when this is turned on at flush() get any dirty beans held by the PersistenceContext and persist them (always update for these beans)
2021-04-01 14:47:54 +13:00
Robin Bygrave
7fc4a229ae
Merge branch 'master' of https://github.com/ebean-orm/ebean
2021-04-01 12:23:00 +13:00
Robin Bygrave
f53d31aa2e
No functional change - final field for BatchControl
2021-04-01 12:22:45 +13:00
Rob Bygrave and GitHub
b889b6a6b0
Merge pull request #2212 from tobias-/bitwise_querybean_operators
...
Add bitwise operators to query beans
2021-04-01 09:38:00 +13:00
Tobias
f9b55a06b8
Add bitwise operators to query beans
2021-03-31 12:53:06 +02: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