rbygrave
4aef0ad459
#2275 - Change Query<?> to Query<T> on ExtendedServer exists() method
2021-07-28 17:23:37 +12:00
Rob Bygrave and GitHub
21cd74d0ca
Merge pull request #2273 from ebean-orm/feature/2272
...
#2272 Fix for collection with orphanRemoval (such that equals/hashCode isn't use)
2021-07-28 17:14:09 +12:00
rbygrave
f32ace4e5a
Refactor EntityBeanIntercept replacing owner._ebean_getPropertyNames().length with flags.length
2021-07-23 13:54:29 +12:00
rbygrave
e54b7052e0
#2272 Fix for collection with orphanRemoval (such that equals/hashCode isn't use)
...
- Changes ModifyHolder to use IdentityHashMap such that equals/hashcode isn't invoked
- Change SaveManyBeans such that M2M intersection deletes execute before inserts
The SaveManyBeans change is required to pass TestM2MModifyTest. With that test we get a delete/insert pair that we somewhat expect because we clear() the collection. Previously equals/hashCode meant we didn't get that delete/insert pair.
The test changes from containsExactly() to containsOnly() as we now can't guarantee the ordering with IdentityHashMap.
2021-07-23 12:18:06 +12:00
rbygrave
33bccd3bcb
[maven-release-plugin] prepare for next development iteration
2021-07-22 19:03:54 +12:00
rbygrave
705e4f4098
[maven-release-plugin] prepare release ebean-parent-12.10.0
2021-07-22 19:03:43 +12:00
Rob Bygrave and GitHub
e590a2149d
Merge pull request #2257 from FOCONIS/queries-are-cancelable
...
Queries are cancelable
2021-07-13 16:11:36 +12:00
rbygrave
8c77740aa7
Bump version tp 12.10.0-SNAPSHOT (with 12.9.4-RC1 ddl generator)
2021-07-13 15:48:10 +12:00
rbygrave
be810aa568
[maven-release-plugin] prepare for next development iteration
2021-07-13 12:16:12 +12:00
rbygrave
8a698bd71e
[maven-release-plugin] prepare release ebean-parent-12.9.3
2021-07-13 12:16:01 +12:00
Roland Praml
824cfa27be
Queries are cancelable
2021-06-23 17:11:21 +02:00
rbygrave
8f432aa0a9
#2251 - Transparent persistence of to-many associations (with orphanRemoval)
2021-06-18 16:05:25 +12:00
rbygrave
f4bb4e1b6a
#2254 - OraclePlatform needs columnAliasPrefix 'c' - Regression in version 12.2.1 due to #1967
2021-06-18 12:37:16 +12:00
rbygrave
55bc498f9d
No functional change - refactor QueryIterator to use Iterator.remove()
...
default method
Iterator.remove() has a default implementation that throws UnsupportedOperationException which is what we want. Remove the close() method from QueryIterator and implementations so that we just use the Iterator.remove() default implementation.
2021-06-11 10:20:47 +12:00
rbygrave
4ee784c68f
[maven-release-plugin] prepare for next development iteration
2021-06-11 00:41:06 +12:00
rbygrave
fc757c087a
[maven-release-plugin] prepare release ebean-parent-12.9.2
2021-06-11 00:40:55 +12:00
rbygrave
4e088a40d9
Refactor DbJson Jackson handling adding DatabaseConfig.setJsonDirtyByDefault()
...
Adds the ability to change the default "jsonDirtyByDefault" configuration setting used with DbJson Jackson properties. Currently these default to being assumed dirty and this allows us to change that to be assumed not dirty (which is very likely the better default).
2021-06-11 00:08:03 +12:00
rbygrave
3c36b43449
No effective change - tidy EntityBeanIntercept
2021-06-10 19:26:56 +12:00
rbygrave
37dff62fa9
#2246 - ENH: Add DtoQuery findStream() and findIterate()
2021-06-10 14:55:31 +12:00
rbygrave
4fd462b1c8
#2244 - ENH: Add SQL Server support for transparent encryption via EncryptByPassPhrase, DecryptByPassPhrase
2021-06-10 13:34:33 +12:00
rbygrave
f3af43a9ce
Add support for findEach() on SqlQuery with RowMapper and scalar result
2021-06-09 15:49:48 +12:00
rbygrave
612295fb9d
[maven-release-plugin] prepare for next development iteration
2021-06-04 17:59:21 +12:00
rbygrave
64405ade52
[maven-release-plugin] prepare release ebean-parent-12.9.1
2021-06-04 17:59:11 +12:00
rbygrave
c9120be347
No effective change - tidy only H2HistoryTrigger and H2HistoryDdl
2021-06-04 17:37:37 +12:00
rbygrave
47bd2ff03d
[maven-release-plugin] prepare for next development iteration
2021-05-23 23:08:47 +12:00
rbygrave
850f1c1469
[maven-release-plugin] prepare release ebean-parent-12.9.0
2021-05-23 23:08:38 +12:00
rbygrave
3c4d600187
#2223 #2224 Support BeanMap modification via entrySet() and keySet()
2021-05-23 17:17:34 +12:00
rbygrave
2a6108087c
Bump version to 12.9.0-SNAPSHOT
2021-05-21 17:18:30 +12:00
rbygrave
79740accfa
#2233 Fix with setter on ToMany now not invoking lazy loading
...
- ebean-agent changed to not invoke preGetter on ToMany (just like Id)
- EntityBeanIntercept preSetterMany() changed to ensure loading flag set
2021-05-21 08:48:42 +12:00
rbygrave
b17593ba3c
No effective change - tidy BeanList, BeanMap, BeanSet internals
2021-05-20 21:44:07 +12:00
rbygrave
eb00690b30
#2231 - Change OrderBy to not be final to support mocking via Mockito
2021-05-20 14:09:22 +12:00
rbygrave
5e893dd2ad
[maven-release-plugin] prepare for next development iteration
2021-04-19 21:40:16 +12:00
rbygrave
9eb54da2dc
[maven-release-plugin] prepare release ebean-parent-12.8.3
2021-04-19 21:40:07 +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
2021-04-09 17:49:07 +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
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
Roman Parshikov and GitHub
9b04f20ed3
Fix copy/paste typo
2021-04-06 13:32:57 +08: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
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
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
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
2a5fd7f3a9
#2210 - Improve query plan capture - ability to change default threshold micros
2021-03-30 16:02:27 +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
91044d0a75
javadoc only - improve javadoc for DatabaseConfig.loadFromProperties()
2021-03-25 23:13:51 +13:00