Skip to content

Add proxy hints for org.hibernate.SessionFactory & org.hibernate.Session #29138

Closed
@christophstrobl

Description

@christophstrobl

The following hints are required to run jpa with hibernate.

{
  "interfaces": [
    "org.hibernate.SessionFactory",
    "org.springframework.orm.jpa.EntityManagerFactoryInfo"
  ]
},
{
  "interfaces": [
    "org.hibernate.Session",
    "org.springframework.orm.jpa.EntityManagerProxy"
  ]
}

See: spring-aot-smoke-tests#113

Metadata

Metadata

Assignees

Labels

in: dataIssues in data modules (jdbc, orm, oxm, tx)theme: aotAn issue related to Ahead-of-time processingtype: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions