Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: e414d0b1776161c3e529dc79e7a0e3b97a6567f7
https://github.com/hibernate/hibernate-orm/commit/e414d0b1776161c3e529dc7...
Author: Beutlin <beutlin(a)users.noreply.github.com>
Date: 2026-07-17 (Fri, 17 Jul 2026)
Changed paths:
M
tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
A
tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/wildcard/Book.java
A
tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/wildcard/BookRepository.java
A
tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/wildcard/ListExtendsParameterTest.java
Log Message:
-----------
HHH-20685 Treat Kotlin's covariant List<? extends X> as a multivalued
'in' finder parameter
Kotlin compiles a List<X> finder parameter to List<? extends X> because
kotlin.collections.List is declared covariantly (List<out E>). The processor
only recognized a plain List<X> or a List<? super X> wildcard as a
multivalued
'in' parameter, so the extends-bounded form produced by Kotlin was rejected and
the finder method implementation was not generated.
typeArgumentMatchesAttribute now also handles the extends bound, so a Kotlin
List parameter reliably produces an 'in' condition like its Java equivalent.
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications