All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.hibernate.jpa.boot.spi.Settings Maven / Gradle / Ivy

There is a newer version: 5.4.2.Final
Show newest version
/*
 * 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 getSessionInterceptorClass(); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy