Deprecated
as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| private static enum |
| Modifier and Type | Field and Description |
|---|---|
| private final transient CacheImplementor | cacheAccess
Deprecated
as a consequence of
CacheImplementor being deprecated.
|
| private final transient CriteriaBuilderImpl | |
| private final transient CurrentSessionContext | |
| private final transient SessionBuilder | |
| private final transient StatelessSessionBuilder | |
| private volatile DelayedDropAction | |
| private final transient EventEngine | |
| private final transient FastSessionServices | |
| private final transient Map | |
| private final transient Map | |
| private final transient Map | |
| private final transient JdbcServices | |
| private final PersistenceUnitUtil | |
| private static final CoreMessageLogger | |
| private final transient MetamodelImplementor | |
| private final String | |
| private final transient NamedQueryRepository | |
| private final transient SessionFactoryObserverChain | |
| private transient PersistenceContextType | |
| private final transient Map | |
| private final transient QueryPlanCache | |
| private final transient SessionFactoryServiceRegistry | |
| private final transient SessionFactoryOptions | |
| private final transient Settings | |
| private final transient SQLFunctionRegistry | |
| private final transient SqlStringGenerationContext | |
| private transient StatisticsImplementor | |
| private transient volatile SessionFactoryImpl. | |
| private transient SynchronizationType | |
| private final transient SessionBuilder | |
| private final transient TypeHelper | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | SessionFactoryImpl(final MetadataImplementor metadata, SessionFactoryOptions options, QueryPlanCache.
|
| Modifier and Type | Method and Description |
|---|---|
| public <T> void | addNamedEntityGraph(String
name for the entity graph graphName, EntityGraph<T> entity graph entityGraph)Implements javax. |
| public void | addNamedQuery(String
name for the query name, Query Query, TypedQuery, or StoredProcedureQuery object query)Implements javax. createNamedQuery or
createNamedStoredProcedureQuery method.
|
| private void | addNamedStoredProcedureQuery(String name, ProcedureCall procedureCall)
Deprecated
as a consequence of
ProcedureCall being deprecated.
|
| public void | |
| private void | |
| private CurrentSessionContext | |
| private <K, V> Session | buildEntityManager(final SynchronizationType synchronizationType, final Map<K, V> map)
Deprecated
as a consequence of
Session being deprecated.
|
| private JdbcConnectionAccess | |
| private SessionBuilder | |
| private boolean | |
| private Map | |
| public void | close()
Implements org. |
| public static Interceptor | configuredInterceptor(Interceptor interceptor, SessionFactoryOptions options)
|
| public static Interceptor | configuredInterceptor(Interceptor interceptor, boolean explicitNoInterceptor, SessionFactoryOptions options)
|
| public boolean | containsFetchProfileDefinition(String
The name to check name)Implements org. |
| private SessionBuilder | |
| public Session | createEntityManager()
Implements javax.
Deprecated
as a consequence of
Create a new application-managed Session being deprecated.
EntityManager.
|
| public Session | createEntityManager(Map<K, V>
properties for entity manager map)Implements javax.
Deprecated
as a consequence of
Create a new application-managed Session being deprecated.
EntityManager with the
specified Map of properties.
|
| public Session | createEntityManager(SynchronizationType
how and when the entity manager should be
synchronized with the current JTA transaction synchronizationType)Implements javax.
Deprecated
as a consequence of
Create a new JTA application-managed Session being deprecated.
EntityManager with the
specified synchronization type.
|
| public Session | createEntityManager(SynchronizationType
how and when the entity manager should be
synchronized with the current JTA transaction synchronizationType, Map<K, V> properties for entity manager map)Implements javax.
Deprecated
as a consequence of
Create a new JTA application-managed Session being deprecated.
EntityManager with the
specified synchronization type and map of properties.
|
| pack-priv static SessionFactoryImpl | Returns: The deserialized factoryThe stream from which to "read" the factory ois)
Deprecated
as a consequence of
Custom deserialization hook used during Session deserialization.
SessionFactoryImpl being deprecated.
|
| private void | |
| private NamedQueryDefinition | extractHqlQueryDefinition(Query<R> hqlQuery, String name)
Deprecated
as a consequence of
Query being deprecated.
|
| private NamedSQLQueryDefinition | extractSqlQueryDefinition(NativeQuery<T> nativeSqlQuery, String name)
Deprecated
as a consequence of
NativeQuery being deprecated.
|
| private void | fillInNamedQueryBuilder(NamedQueryDefinitionBuilder builder, Query<R> query)
Deprecated
as a consequence of
Query being deprecated.
|
| public RootGraphImplementor | |
| public <T> List | findEntityGraphsByJavaType(Class<T> entityClass)
Implements org. |
| public Map | getAllClassMetadata()
Implements org. ClassMetadata for all mapped entities.
|
| public Map | getAllCollectionMetadata()
Implements org. CollectionMetadata for all mapped collections.
|
| public CacheImplementor | getCache()
Implements org.
Deprecated
as a consequence of
Obtain direct access to the underlying cache regions.
CacheImplementor being deprecated.
|
| public ClassMetadata | getClassMetadata(Class<T>
The entity class persistentClass)Implements org. ClassMetadata associated with the given entity class.
|
| public ClassMetadata | getClassMetadata(String
The entity class entityName)Implements org. ClassMetadata associated with the given entity class.
|
| public CollectionMetadata | getCollectionMetadata(String
The collection role (in form [owning-entity-name].[collection-property-name]). roleName)Implements org. CollectionMetadata associated with the named collection role.
|
| public CriteriaBuilder | getCriteriaBuilder()
Implements javax. CriteriaBuilder for the creation of
CriteriaQuery objects.
|
| public Session | getCurrentSession()
Implements org.
Deprecated
as a consequence of
Obtains the current session.
Session being deprecated.
|
| public CurrentTenantIdentifierResolver | |
| public CustomEntityDirtinessStrategy | |
| public Set | getDefinedFilterNames()
Implements org. |
| public SessionFactoryImplementor. | |
| public EntityNotFoundDelegate | |
| public EventEngine | getEventEngine()
Implements org. |
| public FastSessionServices | Returns: the FastSessionServices for this SessionFactory.Implements org. |
| public FetchProfile | getFetchProfile(String
The name of the profile to retrieve. name)Implements org. |
| public FilterDefinition | getFilterDefinition(String
The name of the filter for which to obtain the definition. filterName)Implements org. |
| public IdentifierGenerator | getIdentifierGenerator(String rootEntityName)
Implements org.
Deprecated
as a consequence of
Get the identifier generator for the hierarchy
IdentifierGenerator being deprecated.
|
| public IdentifierGeneratorFactory | getIdentifierGeneratorFactory()
Implements org. |
| public String | getIdentifierPropertyName(String className)
Implements org. |
| public Type | |
| public Interceptor | getInterceptor()
Implements org. |
| public JdbcServices | getJdbcServices()
Implements org. |
| public MetamodelImplementor | getMetamodel()
Implements org. Metamodel interface for access to the
metamodel of the persistence unit.
|
| public String | getName()
Implements org. |
| public NamedQueryRepository | getNamedQueryRepository()
Implements org. |
| public PersistenceUnitUtil | getPersistenceUnitUtil()
Implements javax. |
| public Map | getProperties()
Implements javax. |
| public QueryPlanCache | getQueryPlanCache()
Implements org. |
| public Reference | getReference()
Implements javax. |
| public Type | getReferencedPropertyType(String className, String propertyName)
Implements org. |
| public String[] | getReturnAliases(String queryString)
Overrides default org. |
| public Type[] | getReturnTypes(String queryString)
Overrides default org. |
| public ServiceRegistryImplementor | getServiceRegistry()
Implements org. |
| public SessionFactoryOptions | getSessionFactoryOptions()
Implements org. |
| public Settings | getSettings()
Implements org.
Deprecated
as a consequence of
Settings being deprecated.
|
| public SQLFunctionRegistry | |
| public SqlStringGenerationContext | |
| public StatisticsImplementor | getStatistics()
Implements org. |
| public TypeHelper | getTypeHelper()
Implements org. TypeHelper.
|
| public TypeResolver | Returns: The type resolverImplements org.
Deprecated
(since 5.3) No replacement, access to and handling of Types will be much different in 6.0
Retrieve the Type resolver associated with this factory.
|
| public String | getUuid()
Implements org. |
| public boolean | |
| public boolean | isOpen()
Implements javax. |
| private static SessionFactory | locateSessionFactoryOnDeserialization(String uuid, String name)
Deprecated
as a consequence of
SessionFactory being deprecated.
|
| private void | |
| private void | |
| private void | |
| public Session | openSession()
Implements org.
Deprecated
as a consequence of
Open a Session being deprecated.
Session.
|
| public StatelessSession | openStatelessSession()
Implements org. |
| public StatelessSession | openStatelessSession(Connection
Connection provided by the application. connection)Implements org. Connection.
|
| public Session | openTemporarySession()
Implements org.
Deprecated
as a consequence of
Get a non-transactional "current" session (used by hibernate-envers)
Session being deprecated.
|
| private void | readObject(ObjectInputStream
The stream from which the object is being deserialized. in)Custom serialization hook defined by Java spec. |
| private Object | |
| public Type | |
| public Type | |
| pack-priv void | serialize(ObjectOutputStream
The stream to which to write the factory oos)Custom serialization hook used during Session serialization. |
| public <T> T | unwrap(Class<T>
the class of the object to be returned. This is
normally either the underlying EntityManagerFactory
implementation class or an interface that it implements. type)Implements javax. |
| protected void | |
| public SessionBuilderImplementor | withOptions()
Implements org. Session builder.
|
| public StatelessSessionBuilder | withStatelessOptions()
Implements org. StatelessSession builder.
|
| private void | writeObject(ObjectOutputStream
The stream into which the object is being serialized. out)Custom serialization hook defined by Java spec. |