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
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
Rob Bygrave
04b0d23932
Update tiles-maven-plugin to version 2.34
2023-04-11 10:34:52 +12:00
Rob Bygrave
ecd27e145e
bump to next snapshot version
2023-04-06 17:07:52 +12:00
Rob Bygrave
5f6b4a7795
Version 13.17.0
2023-04-06 15:34:50 +12:00
Rob Bygrave and GitHub
95fbdf37c6
Merge pull request #3021 from ebean-orm/feature/3020-forUpdateRefresh
...
#3020 Query.forUpdate() works like REFRESH
2023-04-06 14:11:43 +12:00
Rob Bygrave and GitHub
1d09c0864d
Merge pull request #3019 from ebean-orm/refactor/method-names-ObjectGraphOrigin
...
Refactor rename getters to accessors for ObjectGraphOrigin etc
2023-04-06 14:11:23 +12:00
Rob Bygrave and GitHub
02f7815e73
Merge pull request #3018 from ebean-orm/refactor/add-final-remove-public-platformHelpers
...
Refactor platforms adding final and removing public from sequence, history, encryption helpers
2023-04-06 14:11:02 +12:00
Rob Bygrave and GitHub
85b700757d
Merge pull request #3010 from ebean-orm/feature/support-dynamicFormulaWithIncludes
...
Add support for dynamic formula with includes
2023-04-06 14:10:26 +12:00
Rob Bygrave and GitHub
d5838e3d64
Merge pull request #3009 from ebean-orm/build/13-16
...
Build 13.17.0
2023-04-06 14:09:53 +12:00
Rob Bygrave
1daad7af06
#3020 Query.forUpdate() works like REFRESH
...
Query.forUpdate() will load data into beans existing in the persistence context.
In discussion the thinking is that we can think of this as a bug fix.
2023-04-01 13:24:37 +13:00
Rob Bygrave
e51d6984fe
Refactor rename getters to accessors for BeanCollection, EntityBeanIntercept etc
2023-03-31 10:42:21 +13:00
Rob Bygrave
c2777b0e27
Refactor rename getters to accessors for ObjectGraphOrigin etc
2023-03-30 23:58:22 +13:00
Rob Bygrave
505f87c524
Refactor platforms adding final and removing public from sequence, history, encryption helpers
...
In theory no is customising these classes and probably should have their own copy of them if
they are doing do. Thus making these types final and package protected.
2023-03-30 23:40:53 +13:00
Rob Bygrave
8e864897bd
Bump to next snapshot version
2023-03-30 13:00:55 +13:00
Rob Bygrave
87b12cff93
Version 13.16.0
2023-03-29 22:48:06 +13:00
Rob Bygrave
55d7eb55d2
Add support for dynamic formula with includes
...
e.g.
DB.find(ChildPerson.class)
.select("name, coalesce(someBean, parent.someBean) as effectiveBean") // include parent
.findList();
2023-03-25 15:49:17 +13:00
Rob Bygrave
79fd689e9a
Add support for raw SQL SubQuery expressions IN,EQ,NE,GT,GE,LT,LE,EXISTS,Not IN, Not EXISTS
...
For these expressions the SQL SubQuery is not parsed by ebean and
just used as is.
2023-03-24 22:38:52 +13:00
Rob Bygrave
ef6d1dbca3
Bump to next snapshot version
2023-03-23 01:12:10 +13:00
Rob Bygrave
60a84b7a38
Version 13.15.2
2023-03-22 23:33:48 +13:00
Rob Bygrave
fcefd94086
Fix for #3005 - Regression, Invalid SQL with RawSql in 13.15.0 due to #2996
2023-03-22 23:18:18 +13:00
Rob Bygrave
70e5d57b7e
Bump to next snapshot version
2023-03-21 23:32:21 +13:00