Register reflection hints for JPA persistence callbacks #29348
Labels
in: data
Issues in data modules (jdbc, orm, oxm, tx)
theme: aot
An issue related to Ahead-of-time processing
type: enhancement
A general enhancement
Milestone
Next to registering hints for data binding (getter/setter) the
PersistenceManagedTypesBeanRegistrationAotProcessor
should also inspect methods for the presence of persistence annotations like@jakarta.persistence.PreRemove
and include those methods.Currently methods like the following do not show up in the generated
reflect-config
and won't be invoked by the persistence provider. Additionally it causes trouble withkotlin.reflect
as outlined below.Related issue: spring-projects/spring-data-commons#2717
The text was updated successfully, but these errors were encountered: