After migration from “Hibernate 5.6.15” to “Hibernate 6.2.1.Final” we started receiving errors while fetching items from the database using criteriaBuilder.createQuery(Tuple.class)
(Tuple is imported from jakarta):
-”org.hibernate.internal.util.beans.BeanIntrospectionException: Unable to determine bean info from class [jakarta.persistence.Tuple]”
-”java.lang.object not superclass of jakarta.persistence.tuple”
The error persists in all 6.x.x. versions.