Rob Bygrave
a9bf33383b
Merge branch 'master' into fix/3129
2024-05-16 08:29:45 +12:00
Rob Bygrave
be28314e31
Update test kotlin to use kotlin-querybean-generator 14.3.0
...
Fixes the test as we now use QueryBean etc rather than TQRootBean
2024-05-16 00:05:55 +12:00
Antoine LCDP
b5fe26d034
#3129 Fix for 15.x to verify DBJson dirtiness using same field ordering on both sides (due to PostgreSQL reordering fields for JsonB types)
2024-05-14 22:05:56 +02:00
Rob Bygrave
053d82b54a
Version 14.3.0
14.3.0
2024-05-14 22:10:08 +12:00
Rob Bygrave
0141e2effa
Merge pull request #3401 from ebean-orm/feature/agent-14.3.0
...
Bump to ebean-agent 14.3.0
2024-05-14 21:18:12 +12:00
Rob Bygrave
a33bb4d4c8
Bump to ebean-agent 14.3.0
2024-05-14 21:15:13 +12:00
Rob Bygrave
d0348210be
Merge pull request #3398 from ebean-orm/feature/NoTimeZone
...
mysql: Support "NoTimeZone" to bypass MySQL JDBC use of Timezone Calendar
2024-05-01 20:30:56 +12:00
Rob Bygrave
753cf66cf0
Merge pull request #3397 from ebean-orm/feature/distinctOn
...
Postgres: Add support for DISTINCT ON query clause
2024-05-01 20:30:41 +12:00
Rob Bygrave
4a8b4dd5fb
mysql: Support "NoTimeZone" to bypass MySQL JDBC use of Timezone Calendar
...
Refer #3393 #3394
2024-05-01 20:24:10 +12:00
robin.bygrave
2faf7008db
#3397 DISTINCT ON subquery support
2024-05-01 20:07:16 +12:00
Rob Bygrave
76c25cbe83
Postgres: Add support for DISTINCT ON query clause - fix test ebean.properties
2024-05-01 01:04:33 +12:00
Rob Bygrave
5c36a725f4
Postgres: Add support for DISTINCT ON query clause
2024-05-01 00:50:37 +12:00
Rob Bygrave
b99d4f5a51
Merge pull request #3396 from ebean-orm/feature/limitOffset-with-labelComment
...
Include inline sql hint and comment in limit/offset sql
2024-04-30 23:57:04 +12:00
Rob Bygrave
7d18942357
Include inline sql hint and comment in limit/offset sql
2024-04-30 23:46:36 +12:00
Rob Bygrave
e51d9ba2ab
Fix test test-java16 using maven.compiler.release
2024-04-14 22:26:20 +12:00
Rob Bygrave
1b1dce90ed
Merge pull request #3385 from ebean-orm/feature/rename-tqrootbean
...
Rename TQRootBean to QueryBean
2024-04-12 22:47:07 +12:00
Rob Bygrave
405834fa45
Merge branch 'master' into feature/rename-tqrootbean
2024-04-12 22:46:55 +12:00
Rob Bygrave
7720229af9
Merge pull request #3389 from ebean-orm/feature/bump-datasource-2
...
Bump ebean-datasource, ebean-test-containers, ebean-agent
2024-04-12 21:51:51 +12:00
Rob Bygrave
89a294414e
Bump ebean-agent 14.2.1
2024-04-12 21:49:56 +12:00
Rob Bygrave
7bbfc00b86
Bump ebean-datasource and ebean-test-containers
...
ebean-datasource 8.14 has experimental lambda mode
ebean-test-containers has helper method to create S3Client for Localstack
2024-04-11 23:20:37 +12:00
Rob Bygrave
d6c76de0a2
Merge pull request #3387 from ebean-orm/feature/bump-parent-4_1-byteBuddy
...
Bump parent to 4.1 with Byte-Buddy net.bytebuddy.experimental=true
2024-04-09 21:32:32 +12:00
Rob Bygrave
36f3986689
Bump avaje junit composite and bytebuddy to 1.14.13
2024-04-09 21:06:52 +12:00
Rob Bygrave
f0f4f13ec6
Bump parent to 4.1 with Byte-Buddy net.bytebuddy.experimental=true
...
Uses maven-surefire-plugin with:
<argLine>-XX:+EnableDynamicAgentLoading -Dnet.bytebuddy.experimental=true</argLine>
2024-04-09 21:03:59 +12:00
Rob Bygrave
08466d42e9
Fix test TestLazyLoadMany with orderBy on query
2024-04-05 22:56:05 +13:00
Rob Bygrave
1f841982a5
Rename TQRootBean to QueryBean
2024-04-05 22:08:26 +13:00
Rob Bygrave
b34704a1fa
Fix kotlin test to use latest kotlin-querybean-generator
2024-04-05 00:29:17 +13:00
Rob Bygrave
7853bf0960
Merge branch 'master' into ebean-15x
15.1.0
2024-04-04 23:54:39 +13:00
Rob Bygrave
0128d64841
Version 14.1.0
14.1.0
2024-04-04 22:54:23 +13:00
Rob Bygrave
68b313f778
Update ebean-agent to 14.1.0
...
This version allows for removal of query bean setRoot() which is no longer needed.
2024-04-04 22:42:06 +13:00
Rob Bygrave
fad32c58d8
Merge pull request #3384 from ebean-orm/feature/rename-iquerybean
...
Rename QueryBean interface to IQueryBean (because we want to rename TQRootBean)
2024-04-04 22:36:59 +13:00
Rob Bygrave
8f1ebdb89a
Rename QueryBean interface to IQueryBean (because we want to rename TQRootBean)
...
We want to rename TQRootBean to QueryBean. I can't do that right now because we need to make ebean-agent aware of that first. So yes, perhaps not ideal with IQueryBean but I think it will make sense once TQRootBean is renamed to QueryBean.
2024-04-04 22:35:55 +13:00
Rob Bygrave
f7703efde2
Merge pull request #3383 from ebean-orm/feature/orderById
...
#3379 Followup, Move orderById() to common QueryBuilder interface
2024-04-04 22:09:34 +13:00
Rob Bygrave
c5ffccb649
Merge pull request #3382 from ebean-orm/fix/3381-pc-clear
...
Fix for #3381 - Empty OneToMany when overflowing LazyLoadBatchSize an…
2024-04-04 22:08:57 +13:00
Rob Bygrave
3e65705bf9
#3379 Followup, Move orderById() to common QueryBuilder interface
...
Effectively this adds it to QueryBeans (where it was missing)
2024-04-04 22:05:17 +13:00
Rob Bygrave
7469a38bbc
#3375 Followup, Temporarily add back setRoot() method to allow time for IntelliJ plugin to be released
...
Adding this means that it will work with an old ebean-agent. It takes a few days to get a new IntelliJ plugin released and we can't wait due to wanting to release the bug fix for #3381
2024-04-04 21:53:18 +13:00
Rob Bygrave
7ea4311662
Fix for #3381 - Empty OneToMany when overflowing LazyLoadBatchSize and mixed queries
...
14.0.0 via #3295 introduced this bug.
#3295 introduced a behaviour where bulk updates clear the persistence context. Now the lazy loading of a BeanCollection works with an assumption that the "parent bean" is in the persistence context (and this assumption is broken with that change for this test case). That is, the bulk update is clearing the persistence context - removing the parent bean BEFORE the lazy loading is invoked ... and that doesn't then work because the parent bean isn't in the persistence context.
This fix means that when lazy loading many's, the parent beans are putIfAbsent into the persistence context.
2024-04-04 20:13:20 +13:00
Rob Bygrave
f556e04f58
Merge pull request #3380 from ebean-orm/feature/deprecate-update-transaction
...
Deprecate update(transaction) and delete(transaction) - migrate to usingTransaction(transaction)
2024-04-01 20:57:58 +13:00
Rob Bygrave
d9c75a60a5
Deprecate update(transaction) and delete(transaction) - migrate to usingTransaction(transaction)
...
Migrate to usingTransaction(transaction) to set the transaction explicitly on a delete or update query.
2024-04-01 20:35:59 +13:00
Rob Bygrave
225bec7b28
Merge pull request #3379 from ebean-orm/feature/query-builder-interface
...
Add QueryBuilder interface as common API for Query and QueryBean
2024-04-01 19:42:34 +13:00
Rob Bygrave
da44f7e604
Add QueryBuilder interface as common API for Query and QueryBean
2024-04-01 18:58:57 +13:00
lqb and Rob Bygrave
e0eda4f8be
#3370 LimitOffsetPagedList add getTotalCount cache ( #3373 )
...
* #3370 LimitOffsetPagedList add getTotalCount cache
* Move totalRowCount check to inside the lock
* No change, format only on LimitOffsetPagedList
---------
Co-authored-by: Rob Bygrave <robin.bygrave@gmail.com >
2024-04-01 11:08:57 +13:00
Rob Bygrave
e4e780588c
Merge pull request #3378 from ebean-orm/feature/QueryBean-interface
...
Add QueryBean interface for query beans to implement
2024-04-01 10:59:38 +13:00
Rob Bygrave
7c8f235550
Add QueryBean interface for query beans to implement
2024-04-01 10:56:25 +13:00
Rob Bygrave
9a77ec1567
Merge pull request #3377 from ebean-orm/feature/3374
...
querybeans: #3374 - Add copy() method to TQRootBean
2024-04-01 09:09:24 +13:00
Rob Bygrave
ff426319f5
Fix deprecated annotation for kotlin-querybean-generator
2024-04-01 09:02:13 +13:00
Rob Bygrave
7f56aff9dd
Bump kotlin-querybean-generator
2024-03-31 11:49:58 +13:00
Rob Bygrave
cdbdd98d36
querybeans: #3374 - Add copy() method to TQRootBean
2024-03-31 11:44:32 +13:00
Rob Bygrave
7bf030f59c
Merge pull request #3376 from ebean-orm/feature/querybean-txn
...
Deprecate Query bean constructor that takes transaction - migrate to query.usingTransaction() instead
2024-03-31 11:38:26 +13:00
Rob Bygrave
16dca28831
Deprecate Query bean constructor that takes transaction - migrate to usingTransaction()
...
Migrate to query.usingTransaction() instead of the constructor that takes a transaction.
2024-03-31 11:37:32 +13:00
Rob Bygrave
678b43693d
Merge pull request #3372 from ebean-orm/feature/1857-SlowQueryBindCapture
...
#1857 Add bind values capture for SlowQueryEvent / SlowQueryListener
2024-03-31 11:34:18 +13:00