Rob Bygrave
dc7d349366
#3453 - Different filterMany behavior when no matches found
2024-09-10 23:11:44 +12:00
Rob Bygrave
cbac00a89f
Merge pull request #3472 from ebean-orm/feature/3461-take-2
...
#3461 - Add also() for query beans
2024-09-09 22:18:40 +12:00
Rob Bygrave
33b2c398f6
#3461 - Add also() for query beans
2024-09-09 22:13:04 +12:00
Rob Bygrave
416f50e782
Merge pull request #3471 from ebean-orm/feature/bump-agent
...
Bump ebean-agent, will support future improvement to query beans with…
2024-09-09 21:59:20 +12:00
Rob Bygrave
2e8a6ceb53
Bump ebean-agent, will support future improvement to query beans with AssocOne AssocMany
2024-09-09 21:54:09 +12:00
Rob Bygrave
f0fd9003ad
Version 14.5.1
14.5.1
2024-09-02 22:03:55 +12:00
Rob Bygrave
dfeffb7c5e
Bump ebean-agent, no effective change
2024-09-02 21:50:21 +12:00
Rob Bygrave
4b0fcb1d29
Merge pull request #3469 from ebean-orm/feature/orderBy2
...
#3466 - Duplicated entities in findMany when a ManyToOne relation is fetched
2024-09-02 20:53:42 +12:00
Rob Bygrave
a7fe5d2b84
#3466 - Duplicated entities in findMany when a ManyToOne relation is fetched (Postgresql)
...
Internally in OrmQueryDetail.markQueryJoins() the SpiQueryManyJoin is determined and returned. This change uses this and effectively removes the code from OrmQueryRequest.determineMany() and BeanDescriptor.manyProperty() which was the source of this issue (performing a similar task but not correctly taking the full path into account and hence the source of this bug).
2024-09-02 19:28:11 +12:00
Rob Bygrave
30327fe33e
Improve existing test asserts around order by clause ( #3467 )
2024-09-02 08:25:19 +12:00
Rob Bygrave
1e013331d4
Improve existing test asserts around order by clause
2024-09-02 08:19:02 +12:00
Rob Bygrave
f8964707d9
#3463 - Ignore queryBean.select(null) calls ( #3464 )
2024-08-27 21:01:51 +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
Michael Benz
53b4d94933
Update README.md fixing broken Foconis logo ( #3457 )
...
Updated the Foconis AG logo with the new Foconis Analytics URL which was broken because of a deep link to a Yoomla logo that is no longer available.
2024-08-27 20:40:36 +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
c94426b6b4
Update tests config for ebean-net-postgis-types
2024-07-22 22:01:42 +12:00
Rob Bygrave
b2ff32e88c
Update tests config for ebean-net-postgis-types
2024-07-22 21:47:48 +12:00
Rob Bygrave
3bd8dfa7bf
Update tests config for ebean-net-postgis-types
2024-07-22 20:12:27 +12:00
Rob Bygrave
0e7abdd137
Version 14.5.0
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
Rob Bygrave
bbd5636689
#3444 - DBName with hyphens creates invalid code ( #3447 )
2024-07-16 20:22:08 +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
8913bead89
[ebean-migration] #3434 - Connection is closed error running migration with MySql and Hikari ( #3437 )
2024-07-02 23:47:14 +12:00
Rob Bygrave
cdf1cd8487
[ebean-redis] Fix for #3432 empty value for natural keys ( #3436 )
2024-07-02 22:06:57 +12:00
Rob Bygrave
2582c4b653
Bump to ebean-agent 14.5.0/15.5.0 with ASM 9.7 for JDK 22 and 23 support ( #3435 )
2024-07-02 18:08:08 +12:00
Rob Bygrave
a9e3e2ea43
Version 14.4.0
14.4.0
2024-06-26 22:33:04 +12:00
Rob Bygrave
834ce971b3
Bump ebean-agent, no functional change
2024-06-26 22:19:58 +12:00
Rob Bygrave
5c27f89677
Change includeLabelInSql to default to true ( #3431 )
...
To disable this use ebean.includeLabelInSql=false or set this via
`DatabaseBuilder.includeLabelInSql(false)``
2024-06-26 20:32:19 +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
a8947c7d2f
Bump ebean-migration dependency to 14.1.0 with fastMode enabled by default ( #3429 )
...
ebean-migration 14.1.0 defaults fastMode to true. This means that it first
runs a fast check that all migrations have been run. If that does not succeed
for any reason it runs the normal migration process.
2024-06-26 20:15:21 +12:00
Rob Bygrave
d5401efb08
#3423 JtaTransactionManager keeps reference to already closed scope (and Transaction/connection ThreadLocal) when JtaTxnListener#afterCompletion is called by a different thread ( #3424 )
...
Bugfix for "Long/slow transaction reaper" in Wildfire that can close/rollback a transaction in a different thread. Fix is to use active flag to inactivate the transaction and detect that case in JtaTransactionManager.getCurrentTransaction()
2024-06-21 07:57:31 +12:00
Rob Bygrave
925ceaf441
Update build actions/setup-java@v4
2024-06-14 21:47:43 +12:00
Rob Bygrave
c5fea13ca5
Update build actions/setup-java@v4
2024-06-14 21:42:06 +12:00
Rob Bygrave
6fa3759786
Add 23 to build
2024-06-14 21:34:54 +12:00
Rob Bygrave
1c5288b6ec
Version 14.3.1
14.3.1
2024-06-10 19:26:40 +12:00
Rob Bygrave
b485fb7440
Bump ebean-agent to 14.3.1
2024-06-10 19:02:41 +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
fa92e7a4b7
Merge pull request #3416 from ebean-orm/feature/querybean-gen-suppresswarnings
...
Change QueryBean to use protected constructors, suppress warning on generated query beans
2024-06-10 12:39:53 +12:00
Rob Bygrave
1823ef288a
Change QueryBean to use protected constructors, suppress warning on generated query beans
2024-06-07 22:48:04 +12:00
Rob Bygrave
7b2128b02f
Merge pull request #3415 from ebean-orm/feature/3412
...
#3412 Use existing/parent transaction with fetch query on ToMany paths
2024-06-07 22:31:24 +12:00
Rob Bygrave
3c84a902e8
Followup for #3412 - Refactor DefaultBeanLoader move query creation logic into LoadBeanRequest
...
Move the query creation, using transaction and configure into LoadBeanRequest. This code then looks more like that of LoadManyRequest.
2024-06-07 22:26:48 +12:00
Rob Bygrave
3ce95c34cb
#3412 Use existing/parent transaction with fetch query on ToMany paths
...
Fix such that LoadManyRequest uses the parent requests transaction rather
than obtain a new read only transaction to perform the fetch query.
2024-06-07 22:16:02 +12:00
Rob Bygrave
d817dcb549
Merge pull request #3413 from ebean-orm/feature/fix-logging-naturalKey
...
Fix logging message for naturalKey MPUT to include the natural key properties
2024-05-31 21:57:24 +12:00
Rob Bygrave
5f218e1fdb
Merge pull request #3409 from kaiyaok2/fix_NIO
...
Fixed non-idempotent tests in `TestCacheSerialization`
2024-05-31 21:56:33 +12:00