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

org.hibernate.internal.AbstractSessionImpl Maven / Gradle / Ivy

There is a newer version: 7.0.0.Beta1
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.internal;

import java.io.Serializable;

import org.hibernate.engine.spi.SessionImplementor;
import org.hibernate.event.spi.EventSource;
import org.hibernate.resource.jdbc.spi.JdbcSessionOwner;
import org.hibernate.resource.transaction.spi.TransactionCoordinatorBuilder.Options;
import org.hibernate.type.descriptor.spi.WrapperOptions;

/**
 * @author Gavin King
 */
public abstract class AbstractSessionImpl
		extends AbstractSharedSessionContract
		implements Serializable, JdbcSessionOwner, SessionImplementor, EventSource, Options, WrapperOptions {

	protected AbstractSessionImpl(SessionFactoryImpl factory, SessionCreationOptions options) {
		super( factory, options );
	}

	@Override
	public SessionImplementor getSession() {
		return this;
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy