Rob Bygrave
4610dbb26e
Version 14.8.0
2024-10-25 14:28:58 +13:00
Rob Bygrave
2fba89f846
Bump ebean-agent to 14.8.0
...
This ebean agent is required to support the fluid QueryBuilder API change.
2024-10-25 14:17:46 +13:00
Rob Bygrave
e4f13da868
Merge branch 'dynamic-property-group-by'
2024-10-24 16:13:01 +13:00
Rob Bygrave
32cd081fce
#3504 Tidy test only and final method
2024-10-24 16:12:45 +13:00
Rob Bygrave
f6da332998
Add test for TestReflectiveModificationUpdate
2024-10-24 08:37:02 +13:00
Alexander Wagner
d8f321d87b
Fix: dynamic property group by with alias
2024-10-22 13:24:12 +02:00
Rob Bygrave
c868d8a23b
Fix test for Postgres TestDistinctOnQuery
2024-10-22 19:00:52 +13:00
Rob Bygrave
d77c14d866
Fix test for Postgres TestDistinctOnQuery
2024-10-22 08:14:01 +13:00
Rob Bygrave
100d33cc94
Potentially breaking change: Throw PersistenceException for unknown property in select clause
2024-10-18 19:12:53 +13:00
Rob Bygrave
e2c12268f7
Merge branch 'master' into feature/migrate-avaje-lang-to-jspecify
2024-10-18 16:52:53 +13:00
Rob Bygrave
937f6296e1
Merge pull request #3497 from ebean-orm/feature/fluid-self-querybuilder
...
Fix SELF of QueryBuilder, QueryBean, IQueryBean for fluid use
2024-10-18 16:48:26 +13:00
Rob Bygrave
24749567d2
Migrate to JSpecify NullMarked/Nullable from avaje.lang NonNullApi/Nullable
2024-10-18 16:46:41 +13:00
Rob Bygrave
7045240778
Merge branch 'transaction-readonly'
2024-10-18 16:27:18 +13:00
Rob Bygrave
e04ac50800
Fix SELF of QueryBuilder, QueryBean, IQueryBean for fluid use
...
Currently, the SELF response type of QueryBuilder returns as Object when really we want it to return the SELF generic type of QueryBuilder, QueryBean, IQueryBean etc
Note that this change requires an updated ebean-agent
2024-10-18 16:18:39 +13:00
Noemi Praml
9ca6fa31e5
more tests
2024-10-17 16:19:03 +02:00
Rob Bygrave
51d0f4efcc
Fix test TestOrderedList for Postgres ANY
2024-10-15 22:14:45 +13:00
Noemi Praml
4f984ff2d4
add: failing test
2024-10-14 16:53:00 +02:00
Rob Bygrave
b6843c6db0
Version 14.7.0
2024-10-10 23:48:29 +13:00
Rob Bygrave
a2ee8b61f8
Merge pull request #3487 from FOCONIS/batch-ordering-bug
...
Bug: Batch ordering - Regression introduced in version 13.26.1, insertAll() leaves batchMode=true enabled ... when it should not
2024-10-10 22:31:15 +13:00
Rob Bygrave
1225a2776f
Merge pull request #3485 from FOCONIS/ordercolumn-cache-queries
...
Fix orderBy for cached many requests
2024-10-10 22:30:23 +13:00
Rob Bygrave
38a8e95b36
#3491 Update javadocs and SqlQuery Postgres ANY tests
2024-10-10 20:08:03 +13:00
Roland Praml
a8418a3d75
Created test for batch escalation
2024-10-08 13:16:32 +02:00
Noemi Praml
88d8b4fb5e
Fix orderBy for cached many requests
2024-10-07 15:04:46 +02:00
dependabot[bot]
93155d3c8f
Bump commons-io:commons-io from 2.7 to 2.14.0 in /ebean-test
...
Bumps commons-io:commons-io from 2.7 to 2.14.0.
---
updated-dependencies:
- dependency-name: commons-io:commons-io
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2024-10-03 18:46:07 +00:00
Rob Bygrave
6d5f740337
TestQueryPaging example to H2 and Postgres due to use of nulls first
...
nulls first isn't supports by mysql
2024-09-20 21:21:57 +12:00
Rob Bygrave
77383f4d29
Version 14.6.0
2024-09-17 22:23:13 +12:00
Rob Bygrave
29fcbbfe97
Bump ebean-agent to 14.6.0
2024-09-17 22:09:44 +12:00
Rob Bygrave
65d7df5488
#3462 Add Paging as alternative to maxRows + firstRow + orderBy
...
Paging is an alternative to specifying the maxRows + firstRow + orderBy on a query.
Example:
```java
var orderBy = OrderBy.of("lastName desc nulls first, firstName asc");
var paging = Paging.of(0, 100, orderBy);
DB.find(Contact.class)
.setPaging(paging)
.where().startsWith("lastName", "foo")
.findList();
```
2024-09-12 22:54:35 +12:00
Rob Bygrave
12648cd37d
Fix test TestQueryFilterMany
2024-09-12 20:31:37 +12:00
Rob Bygrave
edbd13c075
Version 14.5.2
2024-09-11 20:58:13 +12:00
Rob Bygrave
dc7d349366
#3453 - Different filterMany behavior when no matches found
2024-09-10 23:11:44 +12:00
Rob Bygrave
f0fd9003ad
Version 14.5.1
2024-09-02 22:03:55 +12:00
Rob Bygrave
30327fe33e
Improve existing test asserts around order by clause ( #3467 )
2024-09-02 08:25:19 +12:00
Rob Bygrave
86c7de2de8
ebean-test: Modify postgis platform to support both net.postgis and og.postgis ( #3449 )
...
* ebean-test: Modify postgis platform to support both net.postgis and org.postgis
Use Class.forName() to test existence of net.postgis.jdbc.DriverWrapperLW and if available use that driver rather than the older org.postgis.DriverWrapperLW one.
Also support explicitly specifying the driver to use via test property - ebean.test.postgis.driver
* Update test for net postgis to use a separate container
* Remove NetPostgisSetup as PostgisSetup handles both cases now
2024-08-27 20:44:03 +12:00
Rob Bygrave
b0ec23e53c
Update tests to ensure ResetBasicData.reset() was called early
2024-08-04 18:59:46 +12:00
Rob Bygrave
20caae532c
Adjust ResetBasicData with more output
2024-08-04 18:15:22 +12:00
Rob Bygrave
4369481c1a
Adjust ResetBasicData with more output
2024-08-04 18:11:36 +12:00
Rob Bygrave
0e7abdd137
Version 14.5.0
2024-07-22 08:33:34 +12:00
Ryszard Trojnacki
9135f2cd3e
New Postgis types / Java modules ( #3448 )
...
* Added modules `ebean-net-postgis-types`, `ebean-net-postgis` for new `net.postgis` geometry types without support for GeoLatte.
* Added missing `uses` entry in `module-info.java` for `io.ebean.api`.
2024-07-22 07:31:30 +12:00
Rob Bygrave
6785d5703e
Update tests for DB2 forUpdate()
2024-07-17 08:01:26 +12:00
Rob Bygrave
0a95ac7fa0
Update tests for DB2 forUpdate()
2024-07-16 22:18:29 +12:00
Noemi Praml
9f0eaef3d8
Db2 forupdate fix ( #3446 )
...
* ADD failing test for db2
* ADD: possible fix
2024-07-16 19:37:20 +12:00
Rob Bygrave
a5d2a574d3
#3433 - Put test back from desc -> description as desc as a column name isn't widely supported by other databases
2024-07-08 21:54:35 +12:00
Rob Bygrave
6e7adbb8e4
#3433 - Entity property called desc used with query order by desc generates bad sql ( #3438 )
2024-07-04 00:05:01 +12:00
Rob Bygrave
a9e3e2ea43
Version 14.4.0
2024-06-26 22:33:04 +12:00
Rob Bygrave
bfbbb7e7a7
Bump ebean-datasource dependency to 9.0 with automatic Lambda mode detection ( #3430 )
...
* Bump ebean-datasource dependency to 9.0 with automatic Lambda mode detection
ebean-datasource 9.0 automatically detects when it is running in AWS Lambda
and will set validateOnHeartbeat to false. In Lambda we don't want to validate
connections in background threads that can suspend in Lambda.
2024-06-26 20:27:49 +12:00
Rob Bygrave
1c5288b6ec
Version 14.3.1
2024-06-10 19:26:40 +12:00
Rob Bygrave
b07f909dd3
Bump parent pom to 4.2 with EA changes to annotation processing ( #3417 )
...
* Bump parent pom to 4.2 with EA changes to annotation processing
Annotation processing needs to be explicitly on in JDK 24 EA builds
* Bump bytebuddy version in ebean-test and use experimental=true for EA builds
* Use parent pom 4.3 with bytebuddy.experimental=true by default for surefire
2024-06-10 18:36:40 +12:00
Rob Bygrave
053d82b54a
Version 14.3.0
2024-05-14 22:10:08 +12:00
Rob Bygrave
a33bb4d4c8
Bump to ebean-agent 14.3.0
2024-05-14 21:15:13 +12:00