Rob Bygrave
c21a76fa5b
Version 13.15.0
2023-03-14 12:54:53 +13:00
Rob Bygrave
4039c20462
Merge pull request #2996 from ebean-orm/buchtajz-query_select_bugs
...
Add support for specifying select clause with RawSql
2023-03-14 11:48:40 +13:00
Rob Bygrave
6d43028fba
Merge pull request #2995 from ebean-orm/feature/config-isLoadModuleInfo
...
Change such that querybean generated class registration can be used with explicit class registration
2023-03-14 11:48:09 +13:00
Rob Bygrave
efcee7e739
Improve test asserts for lazy loading element collection
2023-03-10 21:33:58 +13:00
Rob Bygrave
523fe6ae54
#2946 - Support specify select clause for RawSql
2023-03-10 20:31:54 +13:00
Rob Bygrave
8ec031bfde
Merge branch 'query_select_bugs' of github.com:buchtajz/ebean into buchtajz-query_select_bugs
2023-03-10 19:38:26 +13:00
Rob Bygrave
a8cad4f3d9
Change such that querybean generated class registration can be used will explicit class registration
...
In DatabaseConfig.isAutoLoadModuleInfo() it only used the querybean generated class registration is classes.isEmpty(). Changing this so that it only uses the loadModuleInfo flag.
This means, unless loadModuleInfo is set to false the classes that register with ebean will be a combination of both the explicitly registered ones plus the classes from the querybean generated EbeanEntityRegister.
In addition, this changes the classes from List to Set.
2023-03-10 11:01:46 +13:00
Rob Bygrave
e4cb81cbba
Bump to 13.14.2-SNAPSHOT
2023-03-10 00:26:34 +13:00
Rob Bygrave
b565a5843e
Version 13.14.1
2023-03-09 21:38:47 +13:00
Rob Bygrave
a73c985315
Bump to next snapshot version
2023-03-01 12:50:53 +13:00
Rob Bygrave
b5fbfbf1b6
Version 13.14.0
2023-03-01 00:08:52 +13:00
Rob Bygrave
e9ab0f34f3
Next snapshot version
2023-02-27 16:57:38 +13:00
Rob Bygrave
e6b0306bde
Fix test TestStdFunctions for Oracle which only supports 2 parameters with concat()
2023-02-25 01:06:40 +13:00
Rob Bygrave
99d5f4f01c
Bump to next version 13.13.2
2023-02-24 23:56:44 +13:00
rob
bac3fd6874
Javax to Jakarta (+ reverse) conversion via sed
2023-02-23 01:28:50 +13:00
Rob Bygrave
0659d7604c
Merge pull request #2980 from FOCONIS/fix-logger
...
FIX: do not format log messages, when no parameter was specified
2023-02-22 23:38:08 +13:00
Rob Bygrave
a825e50584
Merge pull request #2983 from ebean-orm/feature/profileLocationWithLineNumbers
...
ENH: Add profile-line-number-mode with options none | all | auto ... to control adding line numbers to profile locations
2023-02-22 23:35:42 +13:00
rob
989d82813b
Revert the use of ${revision} in poms to plain old version dur to issues not being able to use mvn --rf --resume-from ... as it complains about the parent pom version
2023-02-22 23:17:42 +13:00
rob
2e0dba3741
#2981 - ENH: Add profile-line-number-mode with options none | all | auto ... to control adding line numbers to profile locations
2023-02-22 23:02:42 +13:00
Roland Praml
56360f0fb3
use captureLogger
2023-02-22 09:20:04 +01:00
Roland Praml
d84f2eea58
FIX: do not format log messages, when no parameter was specified
2023-02-22 09:07:49 +01:00
rob
0b615a79cc
Add _ifPresent() expressions for GT, GE, LT, LE (follow up from #2768 )
2023-02-22 14:04:26 +13:00
rob
b0364f3c42
Use StackWalker for ProfileLocation and CallOrigin
2023-02-21 14:21:18 +13:00
buchtajz
8c47ba89d1
Merge branch 'ebean-orm:master' into query_select_bugs
2023-02-21 00:04:39 +01:00
rob
f493c7e8cf
Modify poms to use ${revision} for dependencies versions and annotation processor versions
2023-02-20 10:19:14 +13:00
rob
0e596fd87f
Modify poms to use ${revision} for parent pom version
2023-02-20 10:09:41 +13:00
Rob Bygrave
8bb9ec0cfe
Bump the maven tiles used in tests to 13.12.0
2023-02-19 23:21:39 +13:00
rob
e78ac677f6
[maven-release-plugin] prepare for next development iteration
2023-02-15 10:22:46 +13:00
rob
19d2b04175
[maven-release-plugin] prepare release ebean-parent-13.13.0
2023-02-15 10:22:38 +13:00
rob
ca6171f697
Ignore TestStdFunctions.concatEq for DB2
2023-02-14 22:39:26 +13:00
rob
aa80bc0c10
Bump version to 13.13.0-SNAPSHOT
2023-02-14 20:28:45 +13:00
rob
1f0191b9e4
Tidy ebean-test internals, final classes and whitespace
2023-02-14 19:41:45 +13:00
rob
7c54d21760
#2968 - [ebean-test] - Default ebean.test.registerTestTenantProvider = false ... by default not auto register a test TenantProvider
2023-02-14 19:34:35 +13:00
Rob Bygrave
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
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
5882169641
Merge branch 'feature/StdExpressions'
2023-02-14 11:35:31 +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
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 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
2023-02-13 13:34:14 +13:00
Michal Buchtík
01a0cee3c2
patch RawSql query builder, fix tests
2023-02-10 12:17:40 +01:00
Michal Buchtík
f26feec3d9
Merge remote-tracking branch 'origin/master' into query_select_bugs
2023-02-10 09:33:28 +01: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
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
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
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
3f5140e7f3
[maven-release-plugin] prepare for next development iteration
2023-02-07 22:10:29 +13:00