-
Notifications
You must be signed in to change notification settings - Fork 38.6k
Closed
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)theme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement
Milestone
Description
Due to this change in Hibernate 6.2, Bytebuddy class enhancement is now invoked via SpringHibernateJpaPersistenceProvider
-> PersistenceUnitInfoDescriptor
- > EnhancingClassTransformerImpl
-> BytecodeProviderInitiator.buildDefaultBytecodeProvider()
, breaking Hibernate integration when compiling to native images.
This change updates the PersistenceUnitInfoDescriptor
instance created by SpringHibernateJpaPersistenceProvider
in order to skip the class transformer with native.
Footprint optimization will require completing #29549 is is outside of the scope of this change.
danthe1st
Metadata
Metadata
Assignees
Labels
in: dataIssues in data modules (jdbc, orm, oxm, tx)Issues in data modules (jdbc, orm, oxm, tx)theme: aotAn issue related to Ahead-of-time processingAn issue related to Ahead-of-time processingtype: enhancementA general enhancementA general enhancement