Kotlin Hibernate with Panache didn't validate bad usage of PanacheEntity #11887
Labels
area/hibernate-orm
Hibernate ORM
area/kotlin
area/panache
area/persistence
OBSOLETE, DO NOT USE
kind/bug
Something isn't working
Milestone
Describe the bug
Kotlin Hibernate with Panache should have the same validation phase as the Java version that detects that
PanacheEntity
is not used by an entity that defines an@Id
.Expected behavior
The Kotlin version must run the same validation phase as in the
io.quarkus.hibernate.orm.panache.deployment.PanacheHibernateResourceProcessor.validate()
and must include the same tests to check for duplicate ID:io.quarkus.hibernate.orm.panache.deployment.test.DuplicateIdEntityTest
andio.quarkus.hibernate.orm.panache.deployment.test.DuplicateIdWithParentTest
.The text was updated successfully, but these errors were encountered: