-
-
Notifications
You must be signed in to change notification settings - Fork 102
Open
Description
When using @Version with @CurrentTimestamp on an Entity field it causes an exception shown below. Example can be found here https://github.com/roguebee-droid/hibernate-reactive/blob/Version-with-CurrentTimestamps-annotation-causing-UnsupportedOperationException/hibernate-reactive-core/src/test/java/org/hibernate/reactive/TimestampTest.java
Gradle Test Executor 5 > TimestampTest > test(VertxTestContext) FAILED
java.lang.UnsupportedOperationException: generated version attribute not supported in Hibernate Reactive
at org.hibernate.reactive.engine.impl.ReactiveEntityRegularInsertAction.processInsertGeneratedProperties(ReactiveEntityRegularInsertAction.java:110)
at org.hibernate.reactive.engine.impl.ReactiveEntityRegularInsertAction.lambda$reactiveExecute$1(ReactiveEntityRegularInsertAction.java:73)
at java.base/java.util.concurrent.CompletableFuture$UniCompose.tryFire(CompletableFuture.java:1171)
at java.base/java.util.concurrent.CompletableFuture.postComplete(CompletableFuture.java:531)
at java.base/java.util.concurrent.CompletableFuture.complete(CompletableFuture.java:2206)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels