Fixed up some SessionFactory-related deprecation warnings

This commit is contained in:
Steve Ebersole 2023-02-21 09:00:46 -06:00
parent 6d69318aae
commit dd5a8c97af
1 changed files with 6 additions and 0 deletions

View File

@ -13,6 +13,7 @@ import org.hibernate.HibernateException;
import org.hibernate.SessionFactory; import org.hibernate.SessionFactory;
import org.hibernate.SessionFactoryObserver; import org.hibernate.SessionFactoryObserver;
import org.hibernate.boot.model.relational.SqlStringGenerationContext; import org.hibernate.boot.model.relational.SqlStringGenerationContext;
import org.hibernate.boot.spi.SessionFactoryOptions;
import org.hibernate.cache.spi.CacheImplementor; import org.hibernate.cache.spi.CacheImplementor;
import org.hibernate.context.spi.CurrentTenantIdentifierResolver; import org.hibernate.context.spi.CurrentTenantIdentifierResolver;
import org.hibernate.engine.jdbc.spi.JdbcServices; import org.hibernate.engine.jdbc.spi.JdbcServices;
@ -151,6 +152,11 @@ public interface SessionFactoryImplementor
WrapperOptions getWrapperOptions(); WrapperOptions getWrapperOptions();
SessionFactoryOptions getSessionFactoryOptions();
FilterDefinition getFilterDefinition(String filterName);
/** /**