-
Notifications
You must be signed in to change notification settings - Fork 41.9k
Open
Labels
status: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continuestatus: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged
Description
When selecting a record type that is mapped as JSONB (e.g. via Hibernate’s @Type(JsonBinaryType.class)), the following error occurs:
org.springframework.dao.InvalidDataAccessApiUsageException: org.hibernate.query.SemanticException: Missing constructor for type...
Everything worked on Spring Boot 3.5.0. It still works in the test EventRepositoryTest, where EntityManagerFactory is used, but it fails in the test EventRepositoryTest2. The issue only appears when the projected type is a Java record; with a normal class it does not occur. I recreated a sample project that reproduces this error https://github.com/aivanov-sw/bug-report/tree/develop
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
status: waiting-for-feedbackWe need additional information before we can continueWe need additional information before we can continuestatus: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged