Rob Bygrave
4683877e0b
Merge branch 'string-length-validation' of github.com:FOCONIS/ebean into FOCONIS-string-length-validation
2023-06-23 16:51:34 +12:00
Rob Bygrave
9a4b9d4bec
Bump to next snapshot version
2023-06-21 07:08:13 +12:00
Roland Praml
d0020ab8ce
Length validation less invasive
2023-06-20 14:47:20 +02:00
Rob Bygrave
68a6e98292
Version 13.20.0
2023-06-20 20:35:04 +12:00
Roland Praml
ca3c02bc1c
Failing test for SqlServer
2023-06-19 13:48:00 +02: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
Rob Bygrave and GitHub
e26fbbb11f
Merge branch 'master' into feature/postgres-dll-addColumn-ifNotExists
2023-05-25 20:25:54 +12:00
robin.bygrave
ecf650c9bc
Postgres DDL - Use IF NOT EXISTS with ADD COLUMN
2023-05-25 20:22:18 +12:00
robin.bygrave
b27b4e7038
Postgres DDL - Don't use cast when just changing varchar column size
2023-05-25 20:00:36 +12:00
dependabot[bot] and GitHub
bffc9108f9
Bump sqlite-jdbc from 3.36.0.3 to 3.41.2.2 in /ebean-test
...
Bumps [sqlite-jdbc](https://github.com/xerial/sqlite-jdbc ) from 3.36.0.3 to 3.41.2.2.
- [Release notes](https://github.com/xerial/sqlite-jdbc/releases )
- [Changelog](https://github.com/xerial/sqlite-jdbc/blob/master/CHANGELOG )
- [Commits](https://github.com/xerial/sqlite-jdbc/compare/3.36.0.3...3.41.2.2 )
---
updated-dependencies:
- dependency-name: org.xerial:sqlite-jdbc
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2023-05-23 20:15:29 +00:00
robin.bygrave
4db1925328
No functional change, change use of BeanProperty.value() to BeanProperty.getValue()
...
Noting that value() currently calls through to getValue() hence
this is no real change. This is done because value() is also
a public method Property.value() [and this should probably
change to use getValueIntercept() rather than getValue()]
2023-05-17 15:31:52 +12:00
Rob Bygrave and GitHub
59b6621077
Merge pull request #3055 from ebean-orm/feature/queryPlanCaptureMicros
...
ENH: Add captureMicros and whenCaptured to MetaQueryPlan
2023-05-16 15:38:05 +12:00
robin.bygrave
40489706ce
Testing - Bump YugabyteDB version for testing to 2.17.3.0-b152
2023-05-16 14:39:46 +12:00
robin.bygrave
742f3b6dc4
ENH: Add captureMicros and whenCaptured to MetaQueryPlan
...
- captureMicros is the time taken to capture the specific query plan
- whenCaptured is the time when the bind values were taken
The DefaultQueryPlanListener logging will include these in the
output it logs
2023-05-16 13:47:27 +12:00
Rob Bygrave
ed94edd96b
Bump to next snapshot version
2023-05-10 16:26:03 +12:00
Rob Bygrave
588527a5b9
Version 13.17.4
2023-05-10 00:34:53 +12:00
Rob Bygrave and GitHub
8cbcd1afad
Merge pull request #3049 from ebean-orm/feature/ebean.test.containers.mirror
...
[ebean-test] Add support for ebean.test.containers.mirror
2023-05-08 17:12:22 +12:00
Rob Bygrave
7970ea39f3
Bump to next snapshot version
2023-05-08 17:11:24 +12:00
robin.bygrave
a399d4f2cd
[ebean-test] Add support for ebean.test.containers.mirror
...
Can use this property to specify a mirror to use for test images when running in CI
Currently, we assume that for local builds we actually prefer to not use the mirror (for Arm64 support etc)
2023-05-08 14:35:14 +12:00
Jonas Pöhler
7ee0610db1
ADD: Test for reproducing NPE with lazyloaing in findEach under HeapPressure
...
(cherry picked from commit 96f071e08b )
2023-05-05 09:57:43 +02:00
Rob Bygrave
5b91e671dd
Version 13.17.3
2023-05-01 14:51:33 +12:00
Rob Bygrave
e04f33aaf0
Bump to next snapshot version
2023-04-21 16:53:12 +12:00
Rob Bygrave
e4162a5b03
Version 13.17.2
2023-04-21 16:14:48 +12:00
Rob Bygrave
3960e1deb5
Bump test tile use to 13.17.1
2023-04-17 23:56:20 +12:00
Rob Bygrave
cbdbf6d2e0
Bump to next snapshot version
2023-04-17 23:51:58 +12:00
Rob Bygrave
548bf871a9
Version 13.17.1
2023-04-17 23:31:00 +12:00
Richard Vowles
19389fb9d4
Update the documentation for test tenants
...
The existing docs for test tenants is no
longer correct and additional class level
docs point users in the right direction.
2023-04-17 16:22:06 +12:00