
org.hibernate.jpa.boot.spi.Settings Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-entitymanager
Show all versions of hibernate-entitymanager
A module of the Hibernate O/RM project
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.jpa.boot.spi;
import javax.persistence.spi.PersistenceUnitTransactionType;
import org.hibernate.Interceptor;
/**
* @author Steve Ebersole
*/
public interface Settings {
public PersistenceUnitTransactionType getTransactionType();
/**
* Should resources held by {@link javax.persistence.EntityManager} instance be released immediately on close?
*
* The other option is to release them as part of an after-transaction callback.
*
* @return {@code true}/{@code false}
*/
public boolean isReleaseResourcesOnCloseEnabled();
public Class extends Interceptor> getSessionInterceptorClass();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy