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

org.hibernate.testing.junit5.SessionFactoryAccess Maven / Gradle / Ivy

/*
 * 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 http://www.gnu.org/licenses/lgpl-2.1.html
 */
package org.hibernate.testing.junit5;

import org.hibernate.dialect.Dialect;
import org.hibernate.engine.spi.SessionFactoryImplementor;

/**
 * Contract for things that expose a SessionFactory
 *
 * @author Steve Ebersole
 */
public interface SessionFactoryAccess extends DialectAccess {
	SessionFactoryImplementor getSessionFactory();

	@Override
	default Dialect getDialect() {
		return getSessionFactory().getJdbcServices().getDialect();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy