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
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
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
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
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
d051bba71f
Version 13.20.1
2023-07-04 12:05:30 +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
79ed0a5f8e
#3126 - Incorrect complex indexes generation
2023-07-03 22:19:38 +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
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
9a4b9d4bec
Bump to next snapshot version
2023-06-21 07:08:13 +12:00
Rob Bygrave
68a6e98292
Version 13.20.0
2023-06-20 20:35:04 +12:00
Rob Bygrave and GitHub
9fc1bec6a9
Merge pull request #3046 from FOCONIS/bugfix/lazy_loading_findEach_garbage_collection
...
Bugfix for NPE when lazyLoading in findEach due to Garbage Collection
2023-06-17 11:56:25 +12:00
Rob Bygrave and GitHub
f712635860
Merge pull request #3107 from FOCONIS/json-tests
...
DB specific length support in JSONs/Varchars/binary data
2023-06-17 11:38:46 +12:00
Jonas Pöhler
09f616aae8
ADD: testcase for showing an issue with deleting and re-adding many-to-many elements (size > 20)
...
(cherry picked from commit e6a4bc4e0c31bb35ab5a13c958c7c4b1f68ca037)
2023-06-16 16:16:53 +02:00
Roland Praml
994fb267ad
Merge branch 'master-upstream' into json-tests
2023-06-16 07:40:01 +02:00
robin.bygrave
c7f6c508a6
#3101 - Support JPA Indexes
2023-06-16 13:44:03 +12:00
Roland Praml
55477d4fab
No code change: Regenerated scripts
2023-06-15 08:07:51 +02:00
Roland Praml
77610672a9
Regenerated migration scripts again
2023-06-14 18:24:23 +02:00
Roland Praml
d8238735c1
Fix also DbTypeMapTest, which uses the new varbinary type
2023-06-14 18:19:17 +02:00
Roland Praml
6fe3ec9355
Migration scripts
2023-06-14 17:50:26 +02:00
Roland Praml
f5d0777b86
Added new test models with lengths
2023-06-14 17:17:31 +02:00
Roland Praml
81443b77bc
Fixes for Clickhouse platform
2023-06-14 17:16:14 +02:00
Roland Praml
3e2e84e8bf
Fixed DbMigration classes (put them in the right place)
2023-06-13 17:20:02 +02:00
Rob Bygrave
462d30bbb7
Version 13.19.0
2023-06-07 17:56:19 +12:00
Rob Bygrave
2929483b0d
Refactor ebean-core internal API - getters -> accessors
2023-06-01 22:05:53 +12:00
Rob Bygrave
430926c5a9
Remove deprecated Query setLoadBeanCache() - migrate to setBeanCacheMode()
...
Typically migrate to `.setBeanCacheMode(CacheMode.PUT)` or `.setBeanCacheMode(CacheMode.OFF)`
```java
/**
* Deprecated - migrate to use setBeanCacheMode(CacheMode.PUT) or other CacheMode.
* <p>
* When set to true all the beans from this query are loaded into the bean cache.
*/
@Deprecated
Query<T> setLoadBeanCache(boolean loadBeanCache);
```
2023-06-01 20:44:31 +12:00
Rob Bygrave
e5f7a28d80
Remove deprecated methods from ProfileLocation
...
These methods are no longer used.
2023-06-01 20:00:50 +12:00
Rob Bygrave
4878ca47b5
Remove deprecated ExtendedServer query methods - use query.usingTransaction() instead
...
Removing all the deprecated query methods from ExtendedServer. Migrate to passing
the explicit transaction to the query using query.usingTransaction() instead.
2023-06-01 19:45:17 +12:00
Rob Bygrave
15de44eef8
Remove deprecated MetaInfoManager.collectMetricsAsJson() - move to collectMetrics().asJson()
...
Removing these deprecated methods:
- collectMetricsAsJson() -> collectMetrics().asJson();
- collectMetricsAsData() -> collectMetrics().asData()
```java
/**
* Deprecated migrate to collectMetrics().asJson().
*/
@Deprecated
default ServerMetricsAsJson collectMetricsAsJson() {
return collectMetrics().asJson();
}
/**
* Deprecated migrate to collectMetrics().asData().
*/
@Deprecated
default List<MetricData> collectMetricsAsData() {
return collectMetrics().asData();
}
```
2023-06-01 19:35:03 +12:00
Rob Bygrave
3a84695130
Version 13.18.0
2023-05-31 22:06:30 +12:00
robin.bygrave
7635630808
Use Statement for truncate table and postgres version query
2023-05-26 15:03:13 +12:00
robin.bygrave
75e69a0a23
#3062 - DtoQuery may match the wrong constructor
...
When 2 or more Dto constructors clash by argument count
then we need to ignore those constructors.
2023-05-25 21:57:54 +12:00
robin.bygrave
33d9257a61
Bump yugabyte version to 2.18.0.0
2023-05-25 20:56:10 +12:00
robin.bygrave
7b032351b1
Bump yugabyte version to 2.18.0.0
2023-05-25 20:48:50 +12:00
robin.bygrave
265f865a7d
Postgres DDL - Use IF NOT EXISTS with ADD COLUMN
...
Update generated hashes
2023-05-25 20:30:47 +12:00