类 SessionFactoryDelegatingImpl
- java.lang.Object
-
- org.hibernate.engine.spi.SessionFactoryDelegatingImpl
-
- 所有已实现的接口:
Closeable,Serializable,AutoCloseable,Referenceable,javax.persistence.EntityManagerFactory,Mapping,SessionFactoryImplementor,HibernateEntityManagerFactory,QueryParameterBindingTypeResolver,SessionFactory
public class SessionFactoryDelegatingImpl extends Object implements SessionFactoryImplementor, SessionFactory
Base delegating implementation of the SessionFactory and SessionFactoryImplementor contracts for intended for easier implementation of SessionFactory.- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 org.hibernate.engine.spi.SessionFactoryImplementor
SessionFactoryImplementor.DeserializationResolver<T extends SessionFactoryImplementor>
-
-
构造器概要
构造器 构造器 说明 SessionFactoryDelegatingImpl(SessionFactoryImplementor delegate)
-
方法概要
所有方法 实例方法 具体方法 已过时的方法 修饰符和类型 方法 说明 <T> voidaddNamedEntityGraph(String graphName, javax.persistence.EntityGraph<T> entityGraph)voidaddNamedQuery(String name, javax.persistence.Query query)voidaddObserver(SessionFactoryObserver observer)voidclose()Destroy this SessionFactory and release all resources (caches, connection pools, etc).booleancontainsFetchProfileDefinition(String name)Determine if this session factory contains a fetch profile definition registered under the given name.javax.persistence.EntityManagercreateEntityManager()javax.persistence.EntityManagercreateEntityManager(Map map)javax.persistence.EntityManagercreateEntityManager(javax.persistence.SynchronizationType synchronizationType)javax.persistence.EntityManagercreateEntityManager(javax.persistence.SynchronizationType synchronizationType, Map map)protected SessionFactoryImplementordelegate()RootGraphImplementorfindEntityGraphByName(String name)<T> List<RootGraphImplementor<? super T>>findEntityGraphsByJavaType(Class<T> entityClass)Map<String,ClassMetadata>getAllClassMetadata()Retrieve theClassMetadatafor all mapped entities.MapgetAllCollectionMetadata()Get theCollectionMetadatafor all mapped collections.CacheImplementorgetCache()Obtain direct access to the underlying cache regions.ClassMetadatagetClassMetadata(Class entityClass)Retrieve theClassMetadataassociated with the given entity class.ClassMetadatagetClassMetadata(String entityName)Retrieve theClassMetadataassociated with the given entity class.CollectionMetadatagetCollectionMetadata(String roleName)Get theCollectionMetadataassociated with the named collection role.CollectionPersistergetCollectionPersister(String role)Map<String,CollectionPersister>getCollectionPersisters()Set<String>getCollectionRolesByEntityParticipant(String entityName)javax.persistence.criteria.CriteriaBuildergetCriteriaBuilder()SessiongetCurrentSession()Obtains the current session.CurrentTenantIdentifierResolvergetCurrentTenantIdentifierResolver()CustomEntityDirtinessStrategygetCustomEntityDirtinessStrategy()SetgetDefinedFilterNames()Obtain a set of the names of all filters defined on this SessionFactory.SessionFactoryImplementor.DeserializationResolvergetDeserializationResolver()DialectgetDialect()Get the SQL dialect.EntityNotFoundDelegategetEntityNotFoundDelegate()EntityPersistergetEntityPersister(String entityName)Map<String,EntityPersister>getEntityPersisters()FetchProfilegetFetchProfile(String name)Retrieve fetch profile by name.FilterDefinitiongetFilterDefinition(String filterName)Obtain the definition of a filter by name.IdentifierGeneratorgetIdentifierGenerator(String rootEntityName)Get the identifier generator for the hierarchyIdentifierGeneratorFactorygetIdentifierGeneratorFactory()Allow access to the id generator factory, though this is only needed/allowed from configuration.StringgetIdentifierPropertyName(String className)TypegetIdentifierType(String className)String[]getImplementors(String className)Get the names of all persistent classes that implement/extend the given interface/classStringgetImportedClassName(String name)Get a class name, using query language importsInterceptorgetInterceptor()Get the factory scoped interceptor for this factory.JdbcServicesgetJdbcServices()Get the JdbcServices.MetamodelImplementorgetMetamodel()StringgetName()Access to the name (if one) assigned to the SessionFactoryNamedQueryDefinitiongetNamedQuery(String queryName)NamedQueryRepositorygetNamedQueryRepository()Provides access to the named query repositoryNamedSQLQueryDefinitiongetNamedSQLQuery(String queryName)javax.persistence.PersistenceUnitUtilgetPersistenceUnitUtil()Map<String,Object>getProperties()QueryPlanCachegetQueryPlanCache()Access to the caches of HQL/JPQL and native query plans.ReferencegetReference()TypegetReferencedPropertyType(String className, String propertyName)ResultSetMappingDefinitiongetResultSetMapping(String name)String[]getReturnAliases(String queryString)Get the return aliases of a queryType[]getReturnTypes(String queryString)Get the return types of a queryServiceRegistryImplementorgetServiceRegistry()Access to the ServiceRegistry for this SessionFactory.SessionFactoryOptionsgetSessionFactoryOptions()Get the special options used to build the factory.SettingsgetSettings()SQLExceptionConvertergetSQLExceptionConverter()Retrieves the SQLExceptionConverter in effect for this SessionFactory.SqlExceptionHelpergetSQLExceptionHelper()Retrieves the SqlExceptionHelper in effect for this SessionFactory.SQLFunctionRegistrygetSqlFunctionRegistry()StatisticsImplementorgetStatistics()Retrieve the statistics for this factory.StatisticsImplementorgetStatisticsImplementor()TypeHelpergetTypeHelper()Retrieve this factory'sTypeHelper.TypeResolvergetTypeResolver()已过时。(since 5.3) No replacement, access to and handling of Types will be much different in 6.0StringgetUuid()Get the UUID for this SessionFactory.booleanisClosed()Is this factory already closed?booleanisOpen()Iterable<EntityNameResolver>iterateEntityNameResolvers()EntityPersisterlocateEntityPersister(Class byClass)EntityPersisterlocateEntityPersister(String byName)SessionopenSession()Open aSession.StatelessSessionopenStatelessSession()Open a new stateless session.StatelessSessionopenStatelessSession(Connection connection)Open a new stateless session, utilizing the specified JDBCConnection.SessionopenTemporarySession()Get a non-transactional "current" session (used by hibernate-envers)voidregisterNamedQueryDefinition(String name, NamedQueryDefinition definition)voidregisterNamedSQLQueryDefinition(String name, NamedSQLQueryDefinition definition)TyperesolveParameterBindType(Class clazz)TyperesolveParameterBindType(Object bindValue)<T> Tunwrap(Class<T> cls)SessionBuilderImplementorwithOptions()Obtain aSessionbuilder.StatelessSessionBuilderwithStatelessOptions()Obtain aStatelessSessionbuilder.-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.jpa.HibernateEntityManagerFactory
getEntityManagerFactoryName, getEntityTypeByName, getSessionFactory
-
从接口继承的方法 org.hibernate.engine.spi.SessionFactoryImplementor
findEntityGraphsByType
-
-
-
-
构造器详细资料
-
SessionFactoryDelegatingImpl
public SessionFactoryDelegatingImpl(SessionFactoryImplementor delegate)
-
-
方法详细资料
-
delegate
protected SessionFactoryImplementor delegate()
-
getSessionFactoryOptions
public SessionFactoryOptions getSessionFactoryOptions()
从接口复制的说明:SessionFactoryGet the special options used to build the factory.- 指定者:
getSessionFactoryOptions在接口中SessionFactory- 返回:
- The special options used to build the factory.
-
withOptions
public SessionBuilderImplementor withOptions()
从接口复制的说明:SessionFactoryObtain aSessionbuilder.- 指定者:
withOptions在接口中SessionFactory- 指定者:
withOptions在接口中SessionFactoryImplementor- 返回:
- The session builder
-
openSession
public Session openSession() throws HibernateException
从接口复制的说明:SessionFactoryOpen aSession. JDBCconnection(swill be obtained from the configuredConnectionProvideras needed to perform requested work.- 指定者:
openSession在接口中SessionFactory- 返回:
- The created session.
- 抛出:
HibernateException- Indicates a problem opening the session; pretty rare here.
-
getCurrentSession
public Session getCurrentSession() throws HibernateException
从接口复制的说明:SessionFactoryObtains the current session. The definition of what exactly "current" means controlled by theCurrentSessionContextimpl configured for use. Note that for backwards compatibility, if aCurrentSessionContextis not configured but JTA is configured this will default to theJTASessionContextimpl.- 指定者:
getCurrentSession在接口中SessionFactory- 返回:
- The current session.
- 抛出:
HibernateException- Indicates an issue locating a suitable current session.
-
withStatelessOptions
public StatelessSessionBuilder withStatelessOptions()
从接口复制的说明:SessionFactoryObtain aStatelessSessionbuilder.- 指定者:
withStatelessOptions在接口中SessionFactory- 返回:
- The stateless session builder
-
openStatelessSession
public StatelessSession openStatelessSession()
从接口复制的说明:SessionFactoryOpen a new stateless session.- 指定者:
openStatelessSession在接口中SessionFactory- 返回:
- The created stateless session.
-
openStatelessSession
public StatelessSession openStatelessSession(Connection connection)
从接口复制的说明:SessionFactoryOpen a new stateless session, utilizing the specified JDBCConnection.- 指定者:
openStatelessSession在接口中SessionFactory- 参数:
connection- Connection provided by the application.- 返回:
- The created stateless session.
-
getClassMetadata
public ClassMetadata getClassMetadata(Class entityClass)
从接口复制的说明:SessionFactoryRetrieve theClassMetadataassociated with the given entity class.- 指定者:
getClassMetadata在接口中SessionFactory- 参数:
entityClass- The entity class- 返回:
- The metadata associated with the given entity; may be null if no such entity was mapped.
-
getClassMetadata
public ClassMetadata getClassMetadata(String entityName)
从接口复制的说明:SessionFactoryRetrieve theClassMetadataassociated with the given entity class.- 指定者:
getClassMetadata在接口中SessionFactory- 参数:
entityName- The entity class- 返回:
- The metadata associated with the given entity; may be null if no such entity was mapped.
-
getCollectionMetadata
public CollectionMetadata getCollectionMetadata(String roleName)
从接口复制的说明:SessionFactoryGet theCollectionMetadataassociated with the named collection role.- 指定者:
getCollectionMetadata在接口中SessionFactory- 参数:
roleName- The collection role (in form [owning-entity-name].[collection-property-name]).- 返回:
- The metadata associated with the given collection; may be null if no such collection was mapped.
-
getAllClassMetadata
public Map<String,ClassMetadata> getAllClassMetadata()
从接口复制的说明:SessionFactoryRetrieve theClassMetadatafor all mapped entities.- 指定者:
getAllClassMetadata在接口中SessionFactory- 返回:
- A map containing all
ClassMetadatakeyed by the correspondingStringentity-name.
-
getAllCollectionMetadata
public Map getAllCollectionMetadata()
从接口复制的说明:SessionFactoryGet theCollectionMetadatafor all mapped collections.- 指定者:
getAllCollectionMetadata在接口中SessionFactory- 返回:
- a map from String to CollectionMetadata
-
getStatistics
public StatisticsImplementor getStatistics()
从接口复制的说明:SessionFactoryRetrieve the statistics for this factory.- 指定者:
getStatistics在接口中SessionFactory- 指定者:
getStatistics在接口中SessionFactoryImplementor- 返回:
- The statistics.
-
close
public void close() throws HibernateException从接口复制的说明:SessionFactoryDestroy this SessionFactory and release all resources (caches, connection pools, etc). It is the responsibility of the application to ensure that there are no opensessionsbefore calling this method as the impact on thosesessionsis indeterminate. No-ops if alreadyclosed.- 指定者:
close在接口中AutoCloseable- 指定者:
close在接口中Closeable- 指定者:
close在接口中javax.persistence.EntityManagerFactory- 指定者:
close在接口中SessionFactory- 抛出:
HibernateException- Indicates an issue closing the factory.
-
isClosed
public boolean isClosed()
从接口复制的说明:SessionFactoryIs this factory already closed?- 指定者:
isClosed在接口中SessionFactory- 返回:
- True if this factory is already closed; false otherwise.
-
getCache
public CacheImplementor getCache()
从接口复制的说明:SessionFactoryObtain direct access to the underlying cache regions.- 指定者:
getCache在接口中javax.persistence.EntityManagerFactory- 指定者:
getCache在接口中SessionFactory- 指定者:
getCache在接口中SessionFactoryImplementor- 返回:
- The direct cache access API.
-
getPersistenceUnitUtil
public javax.persistence.PersistenceUnitUtil getPersistenceUnitUtil()
- 指定者:
getPersistenceUnitUtil在接口中javax.persistence.EntityManagerFactory
-
addNamedQuery
public void addNamedQuery(String name, javax.persistence.Query query)
- 指定者:
addNamedQuery在接口中javax.persistence.EntityManagerFactory
-
unwrap
public <T> T unwrap(Class<T> cls)
- 指定者:
unwrap在接口中javax.persistence.EntityManagerFactory
-
addNamedEntityGraph
public <T> void addNamedEntityGraph(String graphName, javax.persistence.EntityGraph<T> entityGraph)
- 指定者:
addNamedEntityGraph在接口中javax.persistence.EntityManagerFactory
-
getDefinedFilterNames
public Set getDefinedFilterNames()
从接口复制的说明:SessionFactoryObtain a set of the names of all filters defined on this SessionFactory.- 指定者:
getDefinedFilterNames在接口中SessionFactory- 返回:
- The set of filter names.
-
getFilterDefinition
public FilterDefinition getFilterDefinition(String filterName) throws HibernateException
从接口复制的说明:SessionFactoryObtain the definition of a filter by name.- 指定者:
getFilterDefinition在接口中SessionFactory- 参数:
filterName- The name of the filter for which to obtain the definition.- 返回:
- The filter definition.
- 抛出:
HibernateException- If no filter defined with the given name.
-
containsFetchProfileDefinition
public boolean containsFetchProfileDefinition(String name)
从接口复制的说明:SessionFactoryDetermine if this session factory contains a fetch profile definition registered under the given name.- 指定者:
containsFetchProfileDefinition在接口中SessionFactory- 参数:
name- The name to check- 返回:
- True if there is such a fetch profile; false otherwise.
-
getTypeHelper
public TypeHelper getTypeHelper()
从接口复制的说明:SessionFactoryRetrieve this factory'sTypeHelper.- 指定者:
getTypeHelper在接口中SessionFactory- 返回:
- The factory's
TypeHelper
-
getTypeResolver
@Deprecated public TypeResolver getTypeResolver()
已过时。(since 5.3) No replacement, access to and handling of Types will be much different in 6.0Retrieve theTyperesolver associated with this factory.- 指定者:
getTypeResolver在接口中SessionFactoryImplementor- 返回:
- The type resolver
-
getProperties
public Map<String,Object> getProperties()
- 指定者:
getProperties在接口中javax.persistence.EntityManagerFactory
-
getEntityPersister
public EntityPersister getEntityPersister(String entityName) throws MappingException
- 指定者:
getEntityPersister在接口中SessionFactoryImplementor- 抛出:
MappingException
-
getEntityPersisters
public Map<String,EntityPersister> getEntityPersisters()
- 指定者:
getEntityPersisters在接口中SessionFactoryImplementor
-
getCollectionPersister
public CollectionPersister getCollectionPersister(String role) throws MappingException
- 指定者:
getCollectionPersister在接口中SessionFactoryImplementor- 抛出:
MappingException
-
getCollectionPersisters
public Map<String,CollectionPersister> getCollectionPersisters()
-
getJdbcServices
public JdbcServices getJdbcServices()
从接口复制的说明:SessionFactoryImplementorGet the JdbcServices.- 指定者:
getJdbcServices在接口中SessionFactoryImplementor- 返回:
- the JdbcServices
-
getDialect
public Dialect getDialect()
从接口复制的说明:SessionFactoryImplementorGet the SQL dialect. Shorthand forgetJdbcServices().getDialect()- 指定者:
getDialect在接口中SessionFactoryImplementor- 返回:
- The dialect
-
getInterceptor
public Interceptor getInterceptor()
从接口复制的说明:SessionFactoryImplementorGet the factory scoped interceptor for this factory.- 指定者:
getInterceptor在接口中SessionFactoryImplementor- 返回:
- The factory scope interceptor, or null if none.
-
getQueryPlanCache
public QueryPlanCache getQueryPlanCache()
从接口复制的说明:SessionFactoryImplementorAccess to the caches of HQL/JPQL and native query plans.- 指定者:
getQueryPlanCache在接口中SessionFactoryImplementor- 返回:
- The query plan cache
-
getReturnTypes
public Type[] getReturnTypes(String queryString) throws HibernateException
从接口复制的说明:SessionFactoryImplementorGet the return types of a query- 指定者:
getReturnTypes在接口中SessionFactoryImplementor- 抛出:
HibernateException
-
getReturnAliases
public String[] getReturnAliases(String queryString) throws HibernateException
从接口复制的说明:SessionFactoryImplementorGet the return aliases of a query- 指定者:
getReturnAliases在接口中SessionFactoryImplementor- 抛出:
HibernateException
-
getImplementors
public String[] getImplementors(String className) throws MappingException
从接口复制的说明:SessionFactoryImplementorGet the names of all persistent classes that implement/extend the given interface/class- 指定者:
getImplementors在接口中SessionFactoryImplementor- 抛出:
MappingException
-
getImportedClassName
public String getImportedClassName(String name)
从接口复制的说明:SessionFactoryImplementorGet a class name, using query language imports
-
findEntityGraphByName
public RootGraphImplementor findEntityGraphByName(String name)
-
getStatisticsImplementor
public StatisticsImplementor getStatisticsImplementor()
-
getNamedQuery
public NamedQueryDefinition getNamedQuery(String queryName)
- 指定者:
getNamedQuery在接口中SessionFactoryImplementor
-
registerNamedQueryDefinition
public void registerNamedQueryDefinition(String name, NamedQueryDefinition definition)
-
getNamedSQLQuery
public NamedSQLQueryDefinition getNamedSQLQuery(String queryName)
- 指定者:
getNamedSQLQuery在接口中SessionFactoryImplementor
-
registerNamedSQLQueryDefinition
public void registerNamedSQLQueryDefinition(String name, NamedSQLQueryDefinition definition)
-
getResultSetMapping
public ResultSetMappingDefinition getResultSetMapping(String name)
- 指定者:
getResultSetMapping在接口中SessionFactoryImplementor
-
getIdentifierGenerator
public IdentifierGenerator getIdentifierGenerator(String rootEntityName)
从接口复制的说明:SessionFactoryImplementorGet the identifier generator for the hierarchy
-
getSQLExceptionConverter
public SQLExceptionConverter getSQLExceptionConverter()
从接口复制的说明:SessionFactoryImplementorRetrieves the SQLExceptionConverter in effect for this SessionFactory.- 指定者:
getSQLExceptionConverter在接口中SessionFactoryImplementor- 返回:
- The SQLExceptionConverter for this SessionFactory.
-
getSQLExceptionHelper
public SqlExceptionHelper getSQLExceptionHelper()
从接口复制的说明:SessionFactoryImplementorRetrieves the SqlExceptionHelper in effect for this SessionFactory.- 指定者:
getSQLExceptionHelper在接口中SessionFactoryImplementor- 返回:
- The SqlExceptionHelper for this SessionFactory.
-
getSettings
public Settings getSettings()
- 指定者:
getSettings在接口中SessionFactoryImplementor
-
openTemporarySession
public Session openTemporarySession() throws HibernateException
从接口复制的说明:SessionFactoryImplementorGet a non-transactional "current" session (used by hibernate-envers)- 指定者:
openTemporarySession在接口中SessionFactoryImplementor- 抛出:
HibernateException
-
getCollectionRolesByEntityParticipant
public Set<String> getCollectionRolesByEntityParticipant(String entityName)
- 指定者:
getCollectionRolesByEntityParticipant在接口中SessionFactoryImplementor- 参数:
entityName- The entity name for which to get the collection roles.- 返回:
- set of all the collection roles in which the given entityName participates.
-
getEntityNotFoundDelegate
public EntityNotFoundDelegate getEntityNotFoundDelegate()
-
getSqlFunctionRegistry
public SQLFunctionRegistry getSqlFunctionRegistry()
-
getFetchProfile
public FetchProfile getFetchProfile(String name)
从接口复制的说明:SessionFactoryImplementorRetrieve fetch profile by name.- 指定者:
getFetchProfile在接口中SessionFactoryImplementor- 参数:
name- The name of the profile to retrieve.- 返回:
- The profile definition
-
getServiceRegistry
public ServiceRegistryImplementor getServiceRegistry()
从接口复制的说明:SessionFactoryImplementorAccess to the ServiceRegistry for this SessionFactory.- 指定者:
getServiceRegistry在接口中SessionFactoryImplementor- 返回:
- The factory's ServiceRegistry
-
addObserver
public void addObserver(SessionFactoryObserver observer)
- 指定者:
addObserver在接口中SessionFactoryImplementor
-
getCustomEntityDirtinessStrategy
public CustomEntityDirtinessStrategy getCustomEntityDirtinessStrategy()
-
getCurrentTenantIdentifierResolver
public CurrentTenantIdentifierResolver getCurrentTenantIdentifierResolver()
-
getNamedQueryRepository
public NamedQueryRepository getNamedQueryRepository()
从接口复制的说明:SessionFactoryImplementorProvides access to the named query repository- 指定者:
getNamedQueryRepository在接口中SessionFactoryImplementor- 返回:
- The repository for named query definitions
-
iterateEntityNameResolvers
public Iterable<EntityNameResolver> iterateEntityNameResolvers()
-
locateEntityPersister
public EntityPersister locateEntityPersister(Class byClass)
-
locateEntityPersister
public EntityPersister locateEntityPersister(String byName)
-
getDeserializationResolver
public SessionFactoryImplementor.DeserializationResolver getDeserializationResolver()
-
getIdentifierGeneratorFactory
public IdentifierGeneratorFactory getIdentifierGeneratorFactory()
从接口复制的说明:MappingAllow access to the id generator factory, though this is only needed/allowed from configuration.- 指定者:
getIdentifierGeneratorFactory在接口中Mapping- 返回:
- Access to the identifier generator factory
-
getIdentifierType
public Type getIdentifierType(String className) throws MappingException
- 指定者:
getIdentifierType在接口中Mapping- 抛出:
MappingException
-
getIdentifierPropertyName
public String getIdentifierPropertyName(String className) throws MappingException
- 指定者:
getIdentifierPropertyName在接口中Mapping- 抛出:
MappingException
-
getReferencedPropertyType
public Type getReferencedPropertyType(String className, String propertyName) throws MappingException
- 指定者:
getReferencedPropertyType在接口中Mapping- 抛出:
MappingException
-
getUuid
public String getUuid()
从接口复制的说明:SessionFactoryImplementorGet the UUID for this SessionFactory. The value is generated as aUUID, but kept as a String.- 指定者:
getUuid在接口中SessionFactoryImplementor- 返回:
- The UUID for this SessionFactory.
- 另请参阅:
SessionFactoryRegistry.getSessionFactory(java.lang.String)
-
getName
public String getName()
从接口复制的说明:SessionFactoryImplementorAccess to the name (if one) assigned to the SessionFactory- 指定者:
getName在接口中SessionFactoryImplementor- 返回:
- The name for the SessionFactory
-
getReference
public Reference getReference() throws NamingException
- 指定者:
getReference在接口中Referenceable- 抛出:
NamingException
-
findEntityGraphsByJavaType
public <T> List<RootGraphImplementor<? super T>> findEntityGraphsByJavaType(Class<T> entityClass)
-
createEntityManager
public javax.persistence.EntityManager createEntityManager()
- 指定者:
createEntityManager在接口中javax.persistence.EntityManagerFactory
-
createEntityManager
public javax.persistence.EntityManager createEntityManager(Map map)
- 指定者:
createEntityManager在接口中javax.persistence.EntityManagerFactory
-
createEntityManager
public javax.persistence.EntityManager createEntityManager(javax.persistence.SynchronizationType synchronizationType)
- 指定者:
createEntityManager在接口中javax.persistence.EntityManagerFactory
-
createEntityManager
public javax.persistence.EntityManager createEntityManager(javax.persistence.SynchronizationType synchronizationType, Map map)- 指定者:
createEntityManager在接口中javax.persistence.EntityManagerFactory
-
getCriteriaBuilder
public javax.persistence.criteria.CriteriaBuilder getCriteriaBuilder()
- 指定者:
getCriteriaBuilder在接口中javax.persistence.EntityManagerFactory
-
getMetamodel
public MetamodelImplementor getMetamodel()
- 指定者:
getMetamodel在接口中javax.persistence.EntityManagerFactory- 指定者:
getMetamodel在接口中HibernateEntityManagerFactory- 指定者:
getMetamodel在接口中SessionFactoryImplementor
-
isOpen
public boolean isOpen()
- 指定者:
isOpen在接口中javax.persistence.EntityManagerFactory
-
-