Rob Bygrave and GitHub
b9a502ca85
Merge pull request #2957 from FOCONIS/detailed-evict-stats
...
ENH: add statistics trimmedByGC/LRU/TTL/Idle to ServerCacheStatistics?
2023-02-14 16:29:35 +13:00
rob
b622d85292
#2967 - [ebean-joda] Joda JSON ISO8601 format for DateMidnight includes timezone
2023-02-14 15:56:45 +13:00
rob
320ffb4a2d
#2966 - DateTimeParseException when ScalarTypeJodaLocalDateTime parsing Json ISO8601
2023-02-14 15:50:13 +13:00
Rob Bygrave and GitHub
0292b4b558
Merge pull request #2912 from ebean-orm/wip/spi-txn-logging
...
Refactoring SpiLogger to better support conditional logging
2023-02-14 15:03:47 +13:00
rob
2c8ae16179
Update to use String format and Object varargs
2023-02-14 14:54:23 +13:00
Rob Bygrave and GitHub
381ac58eed
Merge pull request #2936 from FOCONIS/mem-leak-streaming-queries
...
BUG: Memory-leak on streaming queries when LoadBuffers are not aligned
2023-02-14 11:45:29 +13:00
rob
af9459e41e
Fix build for kotlin-querybean-generator annotation processor version, didn't get bumped after release
2023-02-14 11:42:47 +13:00
rob
5882169641
Merge branch 'feature/StdExpressions'
2023-02-14 11:35:31 +13:00
rob
f694f2946a
Rename test to StdOperatorsTest
2023-02-14 11:34:00 +13:00
rob
4c0144de61
Fix SqlOperators for sql injection
2023-02-14 11:33:28 +13:00
rob
5e70ea5095
Bump test version after release
2023-02-14 08:24:30 +13:00
rob
acb28925f2
[maven-release-plugin] prepare for next development iteration
2023-02-14 08:07:15 +13:00
rob
3d2a68782c
[maven-release-plugin] prepare release ebean-parent-13.12.0
ebean-parent-13.12.0
2023-02-14 08:07:07 +13:00
rob
8c97d4d0fe
Bump version to 13.12.0-SNAPSHOT
2023-02-14 08:02:35 +13:00
rob
eb7de343a8
#2963 - [ebean-agent] By default enable @DbArray to be nullable and @Transient field initialisation when generating default constructors
2023-02-14 08:01:48 +13:00
Rob Bygrave
4ca1645f9f
#2963 - [ebean-agent] By default enable @DbArray to be nullable and @Transient field initialisation when generating default constructors
2023-02-13 22:08:30 +13:00
Rob Bygrave
d1fe79005c
bump test versions after release
2023-02-13 15:51:31 +13:00
Rob Bygrave
015ee44de3
[maven-release-plugin] prepare for next development iteration
2023-02-13 13:34:22 +13:00
Rob Bygrave
714bbadbc0
[maven-release-plugin] prepare release ebean-parent-13.11.4
ebean-parent-13.11.4
2023-02-13 13:34:14 +13:00
Rob Bygrave
9e811e9aef
bump ebean-agent to 13.11.4
2023-02-13 13:25:33 +13:00
Rob Bygrave
f97dcb60c0
Improve test only, QCustomerTest using AttributeConverter
2023-02-13 08:08:16 +13:00
Rob Bygrave
65c76cb2c0
Fix test to support SqlServer using sequences
2023-02-10 14:22:11 +13:00
Rob Bygrave
874427dac1
Fix test to also support Postgres ANY
2023-02-10 14:19:35 +13:00
Rob Bygrave and GitHub
1176c2e97a
Merge pull request #2962 from ebean-orm/feature/2961
...
#2961 - Followup for #2952 - @OneToMany + orphanRemoval + @SoftDelete + non-BeanCollection collection results in hard deletes
2023-02-10 13:10:01 +13:00
Rob Bygrave
44e0585fb7
#2961 - Followup for #2952 - @OneToMany + orphanRemoval + @SoftDelete + non-BeanCollection collection results in hard deletes
...
As noted in comments in #2952
In the internals of SaveManyBeans we have:
- BUG: the deleteByParentId is hard delete and does not care for soft delete
- YUK: internally we have 3 ways of performing the orphan removal when we really want 2
This change fixes the BUG and fixes the YUK. It does this by removing the special case at: https://github.com/ebean-orm/ebean/blob/ebean-parent-13.11.3/ebean-core/src/main/java/io/ebeaninternal/server/persist/SaveManyBeans.java#L347-L350 ... and replacing it with the more common orphan removal code used when we do not have BeanCollection modifications.
The result of this change is that in SaveManyBeans internals we get back to have 2 ways to remove orphans.
- A BeanCollection with modifications: Orphans explicitly deleted using the known elements removed from the collection
- All other cases: Orphans as everything NOT in the collection that is going to be updated
2023-02-10 13:08:44 +13:00
Rob Bygrave and GitHub
889c0f12e0
Merge pull request #2960 from ebean-orm/buchtajz-one2many_setArraylist
...
Fix for @OneToMany orphanRemoval not occurring for #2952 #2953
2023-02-10 13:01:55 +13:00
Rob Bygrave
0135263dbd
Style only for SaveManyBeans switching order in if/else
2023-02-09 23:45:27 +13:00
Rob Bygrave
564194042b
No effective change, BeanCollectionUtil perform the instanceof Collection before instanceof Map check
2023-02-09 23:44:13 +13:00
Rob Bygrave
244d45674a
#2952 #2953 - Fix for @OneToMany orphanRemoval not occurring
...
orphanRemoval was not occurring when a loaded bean had a collection
replaced by a new BeanCollection (as opposed to a vanilla collection
like java.util.ArrayList).
Json marshalling a collection puts beans into BeanCollection and this
is part of the test that reproduced this issue.
2023-02-09 23:29:13 +13:00
Rob Bygrave
4722f10f5e
Bump versions after release
2023-02-07 22:46:08 +13:00
Rob Bygrave
3f5140e7f3
[maven-release-plugin] prepare for next development iteration
2023-02-07 22:10:29 +13:00
Rob Bygrave
43dec17d08
[maven-release-plugin] prepare release ebean-parent-13.11.3
ebean-parent-13.11.3
2023-02-07 22:10:16 +13:00
Rob Bygrave
f1ee45d7d1
Bump ebean-agent to 13.11.3
2023-02-07 22:06:16 +13:00
Rob Bygrave
3263e7bfc3
#2959 - Improve logging for lazy loading error due to "markAsDeleted"
2023-02-07 22:05:34 +13:00
Rob Bygrave
e01f19b3aa
Merge branch 'one2many_setArraylist' of github.com:buchtajz/ebean into buchtajz-one2many_setArraylist
2023-02-07 20:09:01 +13:00
Rob Bygrave
20f6a659fe
#2959 - Improve logging for lazy loading error due to "markAsDeleted"
2023-02-07 19:59:33 +13:00
Michal Buchtík
09fe923770
Merge remote-tracking branch 'origin/one2many_setArraylist' into one2many_setArraylist
2023-02-05 09:28:11 +01:00
buchtajz and GitHub
e6f5e42c2d
Merge branch 'ebean-orm:master' into one2many_setArraylist
2023-02-05 09:25:29 +01:00
Roland Praml
010f73fea2
ENH: add statistics trimmedByGC/LRU/TTL/Idle to ServerCacheStatistics?
2023-02-02 14:10:54 +01:00
Rob Bygrave
5150ecba62
#2948 - SoftDelete entities are hard deleted on orphan removal
2023-02-02 23:15:22 +13:00
Rob Bygrave
978b1dbe02
Merge branch 'master' of github.com:ebean-orm/ebean
2023-02-02 23:06:49 +13:00
Rob Bygrave
9813703ce5
Merge branch 'Ichtil-hard_delete_instead_of_soft_delete_2'
2023-02-02 23:03:28 +13:00
Rob Bygrave
09001e80b5
#2948 - SoftDelete entities are hard deleted on orphan removal
2023-02-02 23:02:44 +13:00
Rob Bygrave and GitHub
4aa3ca6d95
Merge pull request #2941 from FOCONIS/expressionlist-clear
...
NEW: ExpressionList has clear() method
2023-02-02 01:13:28 +13:00
Rob Bygrave and GitHub
5ec8469ddc
Merge pull request #2940 from FOCONIS/fix-bom
...
FIX: Removed non existent modules from BOM
2023-02-02 00:42:43 +13:00
Michal Buchtík
39099bbcc9
print sql
2023-01-31 23:01:52 +01:00
Michal Buchtík
cb2ca0de11
setArrayListDoInsertInsteadUpdate
2023-01-30 23:47:18 +01:00
Jan Klička
b25233b0b9
Merge branch 'master' into hard_delete_instead_of_soft_delete_2
...
# Conflicts:
# ebean-test/pom.xml
2023-01-27 16:28:03 +01:00
Jan Klička
743f1b10e3
#2948
2023-01-27 16:17:01 +01:00
Roland Praml
371f50fb4d
NEW: ExpressionList has clear() method
2023-01-23 11:33:29 +01:00