Rob Bygrave and GitHub
d58e3d023f
Merge pull request #3158 from ebean-orm/feature/tidy-idBinderEmbedded
...
Followup for #3133 - "Embedded id expansion on parentIds" for SQLServer and DB2
2023-08-14 23:06:28 +12:00
Rob Bygrave
1598b40c36
Followup for #3133 - "Embedded id expansion on parentIds" for SQLServer and DB2
2023-08-14 23:00:41 +12:00
Rob Bygrave and GitHub
66ef667a0a
Merge pull request #3157 from ebean-orm/feature/tidy-idBinderEmbedded
...
Tidy IdBinderEmbedded final fields, StringBuilder sizes and reuse code
2023-08-14 22:59:15 +12:00
Rob Bygrave
e821d66268
Tidy IdBinderEmbedded final fields, StringBuilder sizes and reuse code
2023-08-14 15:10:00 +12:00
Rob Bygrave and GitHub
b8e164e04c
Merge pull request #3148 from FOCONIS/fix-recursive-batch-flush
...
FIX: Recursive batch flush can save beans in wrong order
2023-08-14 13:55:50 +12:00
Rob Bygrave and GitHub
9097466a7b
Merge pull request #3145 from FOCONIS/m2m-where-formula
...
FIX: Query on formula m2o-property uses wrong alias:
2023-08-14 13:55:21 +12:00
Rob Bygrave and GitHub
99604d8ec3
Merge pull request #3155 from ebean-orm/feature/3133-IdClass-match-on-name
...
#3133 - For IdClass match on property name
2023-08-14 13:53:58 +12:00
Rob Bygrave
95d37fc3dc
Temporary ignore test TestCompositeForeignKey for DB2 and SQLServer
2023-08-14 13:41:34 +12:00
Rob Bygrave
76d85adc98
Fix tests for #3133 MySql and SQLServer which require column ordering of PK and FK to match
2023-08-14 11:14:43 +12:00
Rob Bygrave
2f233db465
#3133 - For IdClass match on property name
2023-08-10 23:22:57 +12:00
Rob Bygrave
1ca73ca6aa
Test only - Update test IdClass CEPProductCategoryId to match expectations
2023-08-10 23:17:47 +12:00
Rob Bygrave and GitHub
d5e4c13fa8
Merge pull request #3154 from ebean-orm/feature/3134-idClass-delete
...
#3134 - String cannot be cast to class io.ebean.bean.EntityBean" when deleting entities that use cascade = [CascadeType.ALL] with composite keys
2023-08-10 21:15:09 +12:00
Rob Bygrave
b5ac31838c
#3134 Fix for - String cannot be cast to class io.ebean.bean.EntityBean" when deleting entities that use cascade = [CascadeType.ALL] with composite keys
2023-08-10 21:11:58 +12:00
Rob Bygrave
e3e9412eea
#3134 Failing test - String cannot be cast to class io.ebean.bean.EntityBean" when deleting entities that use cascade = [CascadeType.ALL] with composite keys
2023-08-10 20:50:40 +12:00
Roland Praml and Roland Praml
d3427876b7
FIX: Recursive batch flush can save dependant beans in wrong order
2023-08-08 16:59:46 +02:00
Roland Praml
5720ee65b3
Ignored Postgres Platform
2023-08-08 14:02:49 +02:00
Roland Praml
7f441ce72e
FIX: M2M Where Formula joins
2023-08-08 14:02:34 +02:00
Rob Bygrave and GitHub
83e87b0c67
Merge pull request #3140 from ebean-orm/feature/bump-datasource
...
Bump ebean-datasource to 8.6, increases validation timeout default to 30 secs
2023-07-23 14:35:57 +12:00
Rob Bygrave
578feac87f
Bump ebean-datasource to 8.6, increases validation timeout default to 30 secs
2023-07-21 17:02:08 +12:00
Rob Bygrave and GitHub
42a64e715d
Merge pull request #3138 from ebean-orm/feature/postgres-queryplan-capture-buffers
...
[Postgres] Include buffers in Postgres explain - explain (analyze, buffers)
2023-07-18 14:35:24 +12:00
robin.bygrave
12a3a180f4
[Postgres] Include buffers in Postgres explain - explain (analyze, buffers)
2023-07-18 13:52:21 +12:00
Rob Bygrave and GitHub
8acd5bcb39
Merge pull request #3131 from ebean-orm/feature/h2-nonKeyWords
...
Modify ebean-test H2Database setup to default KEY,VALUE as non-keywords
2023-07-11 12:49:15 +12:00
Rob Bygrave and GitHub
eb71756c65
Merge pull request #3136 from ebean-orm/dependabot/maven/com.h2database-h2-2.2.220
...
Bump h2 from 2.1.214 to 2.2.220
2023-07-11 12:48:04 +12:00
dependabot[bot] and GitHub
8c8cadd471
Bump h2 from 2.1.214 to 2.2.220
...
Bumps [h2](https://github.com/h2database/h2database ) from 2.1.214 to 2.2.220.
- [Release notes](https://github.com/h2database/h2database/releases )
- [Commits](https://github.com/h2database/h2database/compare/version-2.1.214...version-2.2.220 )
---
updated-dependencies:
- dependency-name: com.h2database:h2
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-07-07 21:57:51 +00:00
Rob Bygrave and GitHub
222c49c59b
Merge pull request #3130 from ebean-orm/feature/3123-root-error-suppressed
...
#3123 Root cause error can be suppressed on initialisation
2023-07-05 23:47:11 +12:00
Rob Bygrave
1e860112e6
Modify ebean-test H2Database setup to default KEY,VALUE as non-keywords
...
H2Database 2.x changed KEY and VALUE to be deemed keywords for SQL compliance. This is actually a bit of a pain as all the other databases we test allow KEY and VALUE as column names.
This changes the setup for H2Database to treat KEY and VALUE as non keywords as before and be more consistent with the other databases.
2023-07-05 23:46:06 +12:00
Rob Bygrave
ffc21daaba
Bump to next snapshot
2023-07-05 23:28:49 +12:00
Rob Bygrave
f9adcb2c5a
#3123 Root cause error can be suppressed on initialisation
2023-07-05 23:16:00 +12:00
Rob Bygrave
d051bba71f
Version 13.20.1
13.20.1
2023-07-04 12:05:30 +12:00
Rob Bygrave
f414f04033
Add note on lack of support for InTuples with SQLServer and DB2
2023-07-04 12:05:10 +12:00
Rob Bygrave
ac466ecd79
#3125 Add query.usingMaster() for query beans
2023-07-03 23:30:02 +12:00
Rob Bygrave
262a7f9bab
Bump ebean-agent version
2023-07-03 22:57:55 +12:00
Rob Bygrave and GitHub
bb02d74005
Merge pull request #3125 from ebean-orm/feature/query-usingMaster
...
Add query.usingMaster() to explicitly choose master data source
2023-07-03 22:48:47 +12:00
Rob Bygrave and GitHub
e9b2b8d266
Merge pull request #3017 from ebean-orm/feature/db2luw9
...
Initial DB2Luw9Platform using row_number() for row limiting sql
2023-07-03 22:43:55 +12:00
Rob Bygrave
fc16bde227
Modify ImplicitReadOnlyTransaction, call deactivate in finally
2023-07-03 22:43:13 +12:00
Rob Bygrave
d1775dfcc4
#3017 Change DB2LegacyPlatform to also use the row_number limiters
2023-07-03 22:35:46 +12:00
3d5937f6da
Update platforms/db2/src/main/java/io/ebean/platform/db2/DB2RowNumberBasicLimiter.java
...
Bump StringBuilder to use 120
Co-authored-by: Roland Praml <roland.praml@foconis.de >
2023-07-03 22:31:01 +12:00
Rob Bygrave and GitHub
adca8cd8fa
Merge branch 'master' into feature/db2luw9
2023-07-03 22:28:43 +12:00
Rob Bygrave and GitHub
6d30e6310b
Merge pull request #3127 from ebean-orm/feature/3126
...
#3126 - Incorrect complex indexes generation
2023-07-03 22:22:32 +12:00
Rob Bygrave
79ed0a5f8e
#3126 - Incorrect complex indexes generation
2023-07-03 22:19:38 +12:00
Rob Bygrave
94b3a020d5
Modify ImplicitReadOnlyTransaction useCommit to check connection.getAutoCommit()
2023-07-03 21:40:21 +12:00
Rob Bygrave
3e241907e6
Modify internal ImplicitReadOnlyTransaction to also support calling commit()
...
Originally, ImplicitReadOnlyTransaction was built to support read-only DataSource where the connections are using autoCommit true. This change modified ImplicitReadOnlyTransaction to also support use with the main DataSource where the connection are not using autoCommit true.
This is also now needed for the query.usingMaster() case where we have an implicit read only transaction but use the main DataSource with underlying connection requiring explicit commit() at the end of the transaction.
2023-07-03 21:27:58 +12:00
Rob Bygrave
c4af1d9b23
Add query.usingMaster() to explicitly choose master data source
...
When we have a read replica with potential for replication lag, and config a read only DataSource to use that read replica, by default a query executed without a current transaction will use the read replica.
We specify usingMaster() when we explicitly want to execute a query and use the master data source.
2023-07-03 16:41:22 +12:00
Rob Bygrave and GitHub
7702169762
Merge pull request #3124 from ebean-orm/feature/InTuples
...
Add InTuples expression for multi-column IN expression
2023-07-03 12:48:21 +12:00
Rob Bygrave
8209d9e229
Add SpiInTuples to hide more details from InTuples
2023-07-03 12:41:31 +12:00
Rob Bygrave
664120f369
Add InTuples expression for multi-column IN expression
2023-07-03 11:54:38 +12:00
Rob Bygrave
e952b555e0
Add InTuples expression for multi-column IN expression
2023-07-03 11:49:53 +12:00
Rob Bygrave and GitHub
d99c50da75
Merge pull request #3122 from ebean-orm/feature/3109-jta-txn-fix
...
#3109 Fix for JtaTransactionManager when no active transaction
2023-06-26 21:30:55 +12:00
Rob Bygrave
d4bec166f7
#3109 Fix for JtaTransactionManager when no active transaction
...
The call to registry() can throw an exception so
pulling that inside the try catch block and handle
that as no active transaction returning null.
2023-06-26 21:30:01 +12:00
Rob Bygrave
9a4b9d4bec
Bump to next snapshot version
2023-06-21 07:08:13 +12:00