You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After posting the same issue to the hibernate-reactive repository, it seems to be a bug with hibernate-reactive directly.
This is the issue: hibernate/hibernate-reactive#1905
Describe the bug
When using
findById(id, LockModeType.PESSIMISTIC_WRITE)
Quarkus throws the following error:JPA error: java.lang.UnsupportedOperationException
Are Locks not supported with Reactive Panache?
Expected behavior
for update
should be added to the SQL Query.Actual behavior
Throws
JPA error: java.lang.UnsupportedOperationException
How to Reproduce?
No response
Output of
uname -a
orver
No response
Output of
java -version
openjdk version "17.0.11" 2024-04-16 LTS OpenJDK Runtime Environment Corretto-17.0.11.9.1 (build 17.0.11+9-LTS) OpenJDK 64-Bit Server VM Corretto-17.0.11.9.1 (build 17.0.11+9-LTS, mixed mode, sharing)
Quarkus version or git rev
3.8.3
Build tool (ie. output of
mvnw --version
orgradlew --version
)Apache Maven 3.9.6 (bc0240f3c744dd6b6ec2920b3cd08dcc295161ae)
Additional information
No response
The text was updated successfully, but these errors were encountered: