Robin Bygrave
ac1dd4cbab
#2158 Refactor to use try with resources with Connection for platform selection via jdbc metaData
2021-02-11 17:28:05 +13:00
Robin Bygrave
bc33e05906
#2158 - Oracle - automatic platform selection doesn't select older Oracle11Platform via jdbc metadata major version
2021-02-11 17:20:28 +13:00
Robin Bygrave
2672dff512
#2155 - QueryBeans: Change to use own @Generated with retention RUNTIME
2021-02-10 15:28:55 +13:00
Robin Bygrave
74d907bbce
Refactor kotlin querybean generator ProcessingContext extract asElement() method
2021-02-10 15:12:28 +13:00
Robin Bygrave
53aacabce7
#2154 - QueryBeans: TargetEntity is not evaluated during bean generation resulting in bad query beans
2021-02-10 15:10:03 +13:00
Robin Bygrave
ab9cdd8f5b
#2153 - QueryBeans: OneToMany Map property is handled as PScalar instead of TQAssocBean
2021-02-10 13:52:29 +13:00
Robin Bygrave
b3d439ed11
Bump tile-maven-plugin to 2.19
2021-02-10 13:00:50 +13:00
Robin Bygrave
d57657c209
#2127 - Fix for - Adding a new list of children to @OneToMany with orphanRemoval true does not delete existing orphans
...
Modifies EntityBeanIntercept preSetterMany to set the changed state on the many property and use this in SaveManyBeans to detect when the existing beans need orphan removal
2021-02-04 15:45:19 +13:00
Robin Bygrave
dd080c5933
Test only change - refactor update TestBeanState
2021-02-04 15:19:34 +13:00
Rob Bygrave and GitHub
0be98d7989
Fix to only cancel query once ( #2152 )
...
Change DefaultOrmQuery.cancel() to call underlying jdbc cancel once
- Refactor tidy already cancelled check (pre query execution)
- Remove unnecessary extra transaction.end() call on future query execution (as already handled by CallableQueryList etc)
2021-02-03 14:51:42 +13:00
rob bygrave
fca54dbbe3
[maven-release-plugin] prepare for next development iteration
2021-01-24 17:42:50 +13:00
rob bygrave
7ec5fe6a85
[maven-release-plugin] prepare release ebean-parent-12.6.6
ebean-parent-12.6.6
2021-01-24 17:42:38 +13:00
rob bygrave
9ea5505214
Bump to ebean agent 12.6.6
2021-01-24 17:40:13 +13:00
Robin Bygrave
75d3b566a7
Merge branch 'FOCONIS-prePersist-postPersist-fix-batch-flush-12'
2021-01-22 14:01:19 +13:00
Robin Bygrave
e38059f52c
#2149 - Fix for ADD: jdbc batch flush doesnt execute sql statements created in lifecycle methods (e.g. beans saved in PostInsert etc)
...
Note that the foconis fork has a onPersist extension which is removed from the test.
2021-01-22 14:00:48 +13:00
Robin Bygrave
72331aa945
Merge branch 'prePersist-postPersist-fix-batch-flush-12' of https://github.com/FOCONIS/ebean into FOCONIS-prePersist-postPersist-fix-batch-flush-12
2021-01-22 13:14:05 +13:00
Robin Bygrave
e497c54f82
No effective change - modify test redis ClusterTest to have 20ms wait
2021-01-21 17:01:36 +13:00
Robin Bygrave
b44091ff3a
#2147 Fix for ADD: multiple to many outer joins cause wrong count in distinct count…
...
Copy of Rolands fix in FOCONIS branch. This also brings over some of the extra tests found there.
Note that the SQL is slightly different from the FOCONIS branch in that there is additional foreign key columns included in the sub-query select clause.
2021-01-21 16:56:42 +13:00
Robin Bygrave
2ab889f889
Merge branch 'FOCONIS-count-distinct-with-two-joins-12'
2021-01-21 14:50:32 +13:00
Robin Bygrave
23541e661e
Merge branch 'count-distinct-with-two-joins-12' of https://github.com/FOCONIS/ebean into FOCONIS-count-distinct-with-two-joins-12
2021-01-21 14:45:56 +13:00
trojo
6778e37652
ADD: batch flash doesnt execute sql statements created in lifecycle methods
2021-01-20 17:43:14 +01:00
rob bygrave
5eac31283d
#2148 - PersistenceException: No ScalarType registered for class java.util.LinkedHashMap
2021-01-20 23:31:45 +13:00
trojo
38016773d4
added comments
2021-01-20 10:47:53 +01:00
trojo
ad80eb267f
ADD: multiple to many outer joins cause wrong count in distinct count queries
2021-01-20 09:57:25 +01:00
rob bygrave
449e0832e0
Merge branch 'FOCONIS-cache-with-lazyload-wrong-12'
2021-01-20 21:37:57 +13:00
rob bygrave
f28f5c9a01
#2146 - no change - Tidy test only TestWithCacheAndLazyLoad
2021-01-20 21:37:29 +13:00
rob bygrave
9dd28d8879
#2146 - Fix for Cache with lazy load doesnt work
...
When the list is empty() it has already been loaded and loading should skip the l2 cache
2021-01-20 21:10:49 +13:00
rob bygrave
b47eec99a5
Merge branch 'cache-with-lazyload-wrong-12' of https://github.com/FOCONIS/ebean into FOCONIS-cache-with-lazyload-wrong-12
2021-01-20 20:36:18 +13:00
Robin Bygrave
99bb55efa0
No change - update ebean-test test configuration only for windows
2021-01-20 17:22:00 +13:00
Robin Bygrave
4408eb618a
No change - update test only - TestHistoryOneToMany with wait for when run on windows
2021-01-20 17:11:07 +13:00
rob bygrave
9ccd1b1b27
No effective change - tidy whitespace in SqlTreeBuilder and SqlTreeNodeExtraJoin
2021-01-20 00:10:09 +13:00
rob bygrave
0c1657fef5
#2145 - SoftDelete predicate missing on join to ManyToOne supporting predicate expression
2021-01-20 00:00:27 +13:00
Noemi Szemenyei
ee393c6485
ADD: testcase for wrong lazyload with cache
2021-01-19 11:41:19 +01:00
rob bygrave
7f68b9d846
No effective change - tidy whitespace in BeanDescriptorCacheHelp
2021-01-19 22:48:29 +13:00
rob bygrave
2035a3344e
Merge branch 'FOCONIS-persistcontext-wrong'
2021-01-19 22:37:45 +13:00
rob bygrave
ade36582a0
#2144 - Fix for NPE via Wrong beans in PersistContext avoid proper lazy load
2021-01-19 22:37:15 +13:00
Roland Praml
a4b8be61e3
ADD: some suggestions/debug hints
2021-01-11 11:50:25 +01:00
Roland Praml
b7feb62ecd
ADD: testcase for broken lazyload
2021-01-11 11:50:05 +01:00
rob bygrave
7e48f7c8eb
[maven-release-plugin] prepare for next development iteration
2021-01-05 18:02:21 +13:00
rob bygrave
501f8111fe
[maven-release-plugin] prepare release ebean-parent-12.6.5
ebean-parent-12.6.5
2021-01-05 18:02:09 +13:00
rob bygrave
d8f4503d98
#2141 - Fix for failing test, revert of fix for #2127
2021-01-05 17:56:55 +13:00
Rob Bygrave and GitHub
0d83978c58
Merge pull request #2141 from tobias-/failing_cascade_test_case_2
...
Failing testcase that shows wipe of all old children on save
2021-01-05 17:30:56 +13:00
Tobias
69e56be459
Failing testcase that shows wipe of all old children on save
...
When adding a child to a newly saved bean (A), all other children are
killed on save of A.
2020-12-28 15:35:15 +01:00
rob bygrave
35a721039d
[maven-release-plugin] prepare for next development iteration
2020-12-23 20:25:47 +13:00
rob bygrave
98b4ac5029
[maven-release-plugin] prepare release ebean-parent-12.6.4
ebean-parent-12.6.4
2020-12-23 20:25:22 +13:00
rob bygrave
fe874c946d
#2140 - Bump ebean-migration dependency of ebean-ddl-generator to 12.4.0 (update ebean-test)
2020-12-23 20:22:50 +13:00
rob bygrave
53386e9bf4
Update ebean-core-type name and description only
2020-12-22 16:12:20 +13:00
rob bygrave
5435055f5c
Add ebean-redis, ebean-postgis and ebean-core-type to ebean-bom
2020-12-22 16:08:59 +13:00
rob bygrave
583e10f5c6
#2139 - Fix for - Failing testcase that shows wipe of all children on save (related to #2127 )
2020-12-22 15:49:37 +13:00
Rob Bygrave and GitHub
5393d709a3
Merge pull request #2139 from tobias-/failing_cascade_test_case
...
Failing testcase that shows wipe of all children on save
2020-12-22 14:55:12 +13:00