Rob Bygrave and GitHub
b7804e7486
Merge pull request #3197 from ebean-orm/feature/parent-poms
...
Update ebean-agent to 13.22.0, required to support change in query bean generation
2023-08-27 22:48:17 +12:00
Rob Bygrave
febb018036
Update ebean-agent to 13.22.0
2023-08-27 21:59:34 +12:00
Rob Bygrave and GitHub
dc0585246f
Merge pull request #3196 from ebean-orm/feature/parent-poms
...
Use ebean-parent as parent pom for composites and platforms
2023-08-27 21:55:34 +12:00
Rob Bygrave
22c1848f58
Use ebean-parent as parent pom for composites and platforms
2023-08-27 21:53:11 +12:00
Rob Bygrave and GitHub
054ea26893
Merge pull request #3195 from ebean-orm/feature/deprecate-database-commitTransaction
...
Deprecate for removal Database.commitTransaction() and Database.rollb…
2023-08-27 20:32:07 +12:00
Rob Bygrave
8c30b66d39
Add forRemoval = true on existing @Deprecated
2023-08-27 20:31:03 +12:00
Rob Bygrave
14f9fe68f7
Deprecate for removal Database.commitTransaction() and Database.rollbackTransaction()
2023-08-27 20:30:33 +12:00
Rob Bygrave
d56ca5b841
Deprecate for removal Database.commitTransaction() and Database.rollbackTransaction()
...
Migrate to using try-with-resources and transaction.commit() and transaction.rollback()
2023-08-27 20:29:05 +12:00
Rob Bygrave and GitHub
3f97f0f212
Merge pull request #3192 from ebean-orm/feature/spiEbeanServer
...
Refactor internal SpiEbeanServer API - transaction from SpiQuery
2023-08-26 00:19:16 +12:00
Rob Bygrave
60e0c552ab
Fix test for MySql, which does not support delete statement with limit clause
2023-08-26 00:17:57 +12:00
Rob Bygrave
f889628677
No functional change, tidy in persist.dml and dmlbind packages only
2023-08-26 00:15:37 +12:00
Rob Bygrave
128bd171f5
Refactor SpiEbeanServer for SpiSqlQuery with transaction (vs passing transaction)
2023-08-25 23:51:09 +12:00
Rob Bygrave
6402a346a1
Reuse via adding SpiOrmQueryRequest.isGetAllFromBeanCache()
2023-08-25 23:28:07 +12:00
Rob Bygrave
0ab0f9c569
Refactor internal SpiEbeanServer API - transaction from SpiQuery
...
Originally the API took explicit transactions but then the API changed
toward query.usingTransaction(), which means the SpiQuery holds the
explicit transaction.
This change is to update the SpiEbeanServer API to reflect that it can get
explicit transaction from SpiQuery.transaction() rather than pass transaction
around.
Doing this also identified a small bug where L2 cache could be hit when it should
not after there is some update on the transaction (hence the adjustment to the
test TestBeanCache missCount)
2023-08-25 23:15:51 +12:00
Rob Bygrave and GitHub
19e21e17cc
Merge pull request #3191 from ebean-orm/feature/spiEbeanServer
...
#3188 Fix findFutureCount() when there is a current transaction in scope
2023-08-25 21:15:15 +12:00
Rob Bygrave
7e60c66759
Follow up for #3188 Add tests for futures when creating new transaction
2023-08-25 21:05:14 +12:00
Rob Bygrave
4f18dc339f
Follow up for #3188 Fix findFutureList() and findFutureIds() when txn in scope
...
Apply the same fix to findFutureList() and findFutureIds()
2023-08-25 20:56:55 +12:00
Rob Bygrave
60a2626f61
#3188 Fix findFutureCount() when there is a current transaction in scope
2023-08-25 20:32:48 +12:00
Rob Bygrave and GitHub
e3a6f12478
Merge pull request #3190 from ebean-orm/feature/spiEbeanServer
...
Refactor SpiEbeanServer to use SpiQuery
2023-08-25 20:31:29 +12:00
Rob Bygrave
2e980b06f6
Refactor SpiEbeanServer to use SpiQuery
2023-08-25 17:53:23 +12:00
Rob Bygrave and GitHub
b27b5512e3
Merge pull request #3189 from ebean-orm/feature/bump-datasource-dependency
...
Bump to ebean-datasource 8.7
2023-08-25 15:40:39 +12:00
Rob Bygrave
3a013d50d6
Bump to ebean-datasource 8.7
2023-08-25 15:40:09 +12:00
Rob Bygrave
3ebfd2e9e6
Update test only - TestDeleteCascadingOneToMany
2023-08-24 21:01:11 +12:00
Rob Bygrave and GitHub
f51b69445a
Merge pull request #3187 from ebean-orm/feature/3183-deleteQueryIn
...
Update test only - TestDeleteCascadeById
2023-08-24 20:55:14 +12:00
Rob Bygrave
96904d525f
Update test only - TestDeleteCascadeById
2023-08-24 20:54:43 +12:00
Rob Bygrave and GitHub
26fa885adb
Merge pull request #3186 from ebean-orm/feature/3183-deleteQueryIn
...
#3183 - Fix for: Wrong limit using setMaxRows on delete between calls
2023-08-24 20:38:32 +12:00
Rob Bygrave
f4ca4ec476
#3183 - Fix for: Wrong limit using setMaxRows on delete between calls
...
Reproduces when the delete needs to perform a select due to caching or
cascading of the delete
2023-08-24 20:35:11 +12:00
Rob Bygrave
327995526e
Fix tests for Postgres
2023-08-24 20:17:41 +12:00
Rob Bygrave and GitHub
dfbbdc7d58
Merge pull request #3182 from ebean-orm/feature/delete-batch-v2
...
When delete batching, use number of id properties
2023-08-23 10:54:21 +12:00
Rob Bygrave
35894b3d8f
When delete batching, ALSO in deleteManyDetails use number of properties
...
Use int batch = maxDeleteBatch / targetDesc.idBinder().size()
2023-08-22 23:55:55 +12:00
Rob Bygrave
0f219b4cd0
When delete batching, use number of id properties
2023-08-22 23:49:38 +12:00
Rob Bygrave
bfe94786de
Merge branch 'FOCONIS-experimental-elliminate-not-in-with-too-many-params'
2023-08-22 23:43:41 +12:00
Rob Bygrave
6cab2498dc
Merge branch 'experimental-elliminate-not-in-with-too-many-params' of github.com:FOCONIS/ebean into FOCONIS-experimental-elliminate-not-in-with-too-many-params
2023-08-22 23:22:11 +12:00
Rob Bygrave and GitHub
dbe81bdb6e
Merge pull request #3180 from FOCONIS/bugfix/setId-or-idEq-in-subquery
...
BUG: Using a subquery with idEq or setId is missing the bind value
2023-08-22 22:35:31 +12:00
Jonas Pöhler
2e2b3844fe
Tidy test
2023-08-22 11:36:44 +02:00
Jonas Pöhler
78b77dcd82
Potential Fix for using idEq or setId in subquery
2023-08-22 11:04:48 +02:00
Jonas Pöhler
90614adb2b
ADD: Testcase to show missing bind values when using idEq or setId in subquery
2023-08-22 11:04:24 +02:00
Rob Bygrave and GitHub
019ef43fe7
Merge pull request #3177 from ebean-orm/feature/remove-InTuples-literal-mode
...
#3166 Remove InTuples literal mode
2023-08-22 08:23:54 +12:00
Rob Bygrave
cfb6f0a908
#3166 Remove InTuples literal mode, remove related plan useCache()
2023-08-22 08:18:19 +12:00
Roland Praml
77aeda1753
draft: elliminate the "not in" query that may 'explode' on SqlServer
2023-08-21 17:10:23 +02:00
Roland Praml
2a24ec3d49
Added some tests
2023-08-21 16:51:19 +02:00
Roland Praml
d9d09b31b4
Refactored delete-by-id
2023-08-21 15:36:05 +02:00
Rob Bygrave
56550a9534
#3166 Remove InTuples literal mode
2023-08-21 23:16:55 +12:00
Rob Bygrave and GitHub
f40beb8234
Merge pull request #3175 from ebean-orm/feature/ListsPartition
...
For Lists.partition() fix for empty list input
2023-08-21 20:37:32 +12:00
Rob Bygrave
cb06052c86
For Lists.partition() fix for empty list input
...
Fix such that empty list input produces an empty list
2023-08-21 20:19:59 +12:00
Rob Bygrave and GitHub
e09265fbc5
Merge pull request #3174 from FOCONIS/more-char-append
...
Use char-append instead of String-append
2023-08-21 19:58:42 +12:00
Roland Praml
dede93ca62
Use char-append instead of String-append
2023-08-21 08:22:18 +02:00
Rob Bygrave and GitHub
caf8bd0c0f
Merge pull request #3172 from ebean-orm/feature/filterManyRaw
...
Add filterManyRaw() and Deprecate filterMany( <string expressions> )
2023-08-21 11:30:43 +12:00
Rob Bygrave
01d89a01a5
Fix new test in QCustomerTest
2023-08-21 11:22:02 +12:00
Rob Bygrave
b0da647b0e
Fix javadoc for filterManyRaw()
2023-08-21 11:17:29 +12:00