Package io.micronaut.configuration.hibernate.jpa
@Configuration
@Requires(property="jpa.enabled",value="true",defaultValue="true") @Requires(classes={org.hibernate.SessionFactory.class,jakarta.persistence.Entity.class})
package io.micronaut.configuration.hibernate.jpa
This package contains a configuration for Hibernate and JPA.
- Since:
- 1.0
- Author:
- graemerocher
-
ClassDescriptionProvides the value for
AvailableSettings.CURRENT_SESSION_CONTEXT_CLASS
.Configuration for JPA and Hibernate.The entity scan configuration.Represents a transaction aware session that can be dependency injected.