Deprecated
as a consequence of SessionImplementor being deprecated. See corresponding docs for further information.
SessionImplementor and
a Session. This is useful for custom implementations of this
API so that only some methods need to be overridden
(Used by Hibernate Search).
| Modifier and Type | Field and Description |
|---|---|
| protected final SessionImplementor | delegate
Deprecated
as a consequence of
SessionImplementor being deprecated.
|
| Access | Constructor and Description |
|---|---|
| public | SessionDelegatorBaseImpl(SessionImplementor delegate, Session session)
Deprecated
(since 5.3) SessionDelegatorBaseImpl should take just one argument, the SessionImplementor.
|
| public | SessionDelegatorBaseImpl(SessionImplementor delegate)
Deprecated
as a consequence of
SessionImplementor being deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
| public Transaction | accessTransaction()
Implements org. |
| public void | addEventListeners(SessionEventListener...
The listener(s) to add listeners)Implements org. |
| public void | |
| public void | afterTransactionBegin()
Implements org. |
| public void | afterTransactionCompletion(boolean
Was the transaction successful? successful, boolean Is this a delayed after transaction completion call (aka after a timeout)? delayed)Implements org. |
| public void | beforeTransactionCompletion()
Implements org. |
| public Transaction | beginTransaction()
Implements org. Transaction object.
|
| public String | bestGuessEntityName(Object object)
Implements org. |
| public LockOptions | buildLockOptions(LockModeType
the requested LockModeType lockModeType, Map<String, Object> the lock properties properties)Overrides default org. javax. and properties, build a Hibernate
org.
|
| public Session. | buildLockRequest(LockOptions
contains the lock level lockOptions)Implements org. |
| public IdentifierLoadAccess | byId(String
The entity name of the entity type to be retrieved entityName)Implements org. IdentifierLoadAccess instance to retrieve the specified entity type by
primary key.
|
| public <T> IdentifierLoadAccess | byId(Class<T>
The entity type to be retrieved entityClass)Implements org. IdentifierLoadAccess instance to retrieve the specified entity by
primary key.
|
| public <T> MultiIdentifierLoadAccess | byMultipleIds(Class<T>
The entity type to be retrieved entityClass)Implements org. MultiIdentifierLoadAccess instance to retrieve multiple entities at once
as specified by primary key values.
|
| public MultiIdentifierLoadAccess | byMultipleIds(String
The entity name of the entity type to be retrieved entityName)Implements org. MultiIdentifierLoadAccess instance to retrieve multiple entities at once
as specified by primary key values.
|
| public NaturalIdLoadAccess | byNaturalId(String
The entity name of the entity type to be retrieved entityName)Implements org. NaturalIdLoadAccess instance to retrieve the specified entity by
its natural id.
|
| public <T> NaturalIdLoadAccess | byNaturalId(Class<T>
The entity type to be retrieved entityClass)Implements org. NaturalIdLoadAccess instance to retrieve the specified entity by
its natural id.
|
| public SimpleNaturalIdLoadAccess | bySimpleNaturalId(String
The entity name of the entity type to be retrieved entityName)Implements org. SimpleNaturalIdLoadAccess instance to retrieve the specified entity by
its natural id.
|
| public <T> SimpleNaturalIdLoadAccess | bySimpleNaturalId(Class<T>
The entity type to be retrieved entityClass)Implements org. SimpleNaturalIdLoadAccess instance to retrieve the specified entity by
its simple (single attribute) natural id.
|
| public void | cancelQuery()
Implements org. |
| public void | checkOpen(boolean
If the EM is closed, should the transaction (if one) be marked for rollback? markForRollbackIfClosed)Implements org.
|
| public void | checkOpen()
Overrides default org.
|
| public void | checkTransactionNeededForUpdateOperation(String
the message to use for the TransactionRequiredException exceptionMessage)Overrides default org. |
| public void | clear()
Implements org. |
| public void | close()
Implements org. |
| public Connection | |
| public boolean | contains(String
The entity name entityName, Object an instance of a persistent class object)Implements org. |
| public boolean | contains(Object
entity instance object)Implements javax. |
| public Criteria | createCriteria(Class<T>
The class, which is an entity, or has entity subclasses/implementors persistentClass)Implements org. Criteria instance for the given class (entity or subclasses/implementors).
|
| public Criteria | createCriteria(Class<T>
The class, which is an entity, or has entity subclasses/implementors persistentClass, String The alias to use alias)Implements org. Criteria instance for the given class (entity or subclasses/implementors), using a specific
alias.
|
| public Criteria | createCriteria(String
The entity name entityName)Implements org. Criteria instance for the given entity name.
|
| public Criteria | createCriteria(String
The entity name entityName, String The alias to use alias)Implements org. Criteria instance for the given entity name, using a specific alias.
|
| public <T> RootGraphImplementor | createEntityGraph(Class<T>
class of entity graph rootType)Implements org. |
| public RootGraphImplementor | createEntityGraph(String
name of an entity graph graphName)Implements org. |
| public Query | createFilter(Object
a persistent collection collection, String a Hibernate query fragment. queryString)Implements org.
Deprecated
as a consequence of
Create a Query being deprecated.
Query instance for the given collection and filter string.
|
| public QueryImplementor | createNamedQuery(String
the name of a query defined in metadata name)Implements org.
Deprecated
as a consequence of
Create an instance of QueryImplementor being deprecated.
Query for executing a named query
(in the Java Persistence query language or in native SQL).
|
| public <T> QueryImplementor | createNamedQuery(String
the name of a query defined in metadata name, Class<T> the type of the query result resultClass)Implements org.
Deprecated
as a consequence of
Create an instance of QueryImplementor being deprecated.
TypedQuery for executing a
Java Persistence query language named query.
|
| public StoredProcedureQuery | createNamedStoredProcedureQuery(String
name assigned to the stored procedure query
in metadata name)Implements javax. StoredProcedureQuery for executing a
stored procedure in the database.
|
| public NativeQueryImplementor | createNativeQuery(String
a native SQL query string sqlString)Implements org.
Deprecated
as a consequence of
Create an instance of NativeQueryImplementor being deprecated.
Query for executing
a native SQL statement, e.g., for update or delete.
|
| public NativeQueryImplementor | createNativeQuery(String
a native SQL query string sqlString, Class<T> the class of the resulting instance(s) resultClass)Implements org.
Deprecated
as a consequence of
Create an instance of NativeQueryImplementor being deprecated.
Query for executing
a native SQL query.
|
| public NativeQueryImplementor | createNativeQuery(String
a native SQL query string sqlString, String the name of the result set mapping resultSetMapping)Implements org.
Deprecated
as a consequence of
Create an instance of NativeQueryImplementor being deprecated.
Query for executing
a native SQL query.
|
| public <T> QueryImplementor | createQuery(String
The criteria query rendered as a JPA QL string jpaqlString, Class<T> The result type (the type expected in the result list) resultClass, Selection<X> The selection(s) selection, HibernateEntityManagerImplementor.The options to use to build the query. queryOptionsImplements org.
Deprecated
as a consequence of
Used during "compiling" a JPA criteria query.
QueryImplementor being deprecated.
|
| public QueryImplementor | createQuery(String
a Java Persistence query string queryString)Implements org.
Deprecated
as a consequence of
Create an instance of QueryImplementor being deprecated.
Query for executing a
Java Persistence query language statement.
|
| public <T> QueryImplementor | createQuery(String
a Java Persistence query string queryString, Class<T> the type of the query result resultType)Implements org.
Deprecated
as a consequence of
Create an instance of QueryImplementor being deprecated.
TypedQuery for executing a
Java Persistence query language statement.
|
| public <T> QueryImplementor | createQuery(CriteriaQuery<T>
a criteria query object criteriaQuery)Implements org.
Deprecated
as a consequence of
Create an instance of QueryImplementor being deprecated.
TypedQuery for executing a
criteria query.
|
| public QueryImplementor | createQuery(CriteriaUpdate<T>
a criteria update query object updateQuery)Implements org.
Deprecated
as a consequence of
Create an instance of QueryImplementor being deprecated.
Query for executing a criteria
update query.
|
| public QueryImplementor | createQuery(CriteriaDelete<T>
a criteria delete query object deleteQuery)Implements org.
Deprecated
as a consequence of
Create an instance of QueryImplementor being deprecated.
Query for executing a criteria
delete query.
|
| public NativeQueryImplementor | createSQLQuery(String
The SQL query queryString)Implements org.
Deprecated
as a consequence of
Create a NativeQueryImplementor being deprecated.
NativeQuery instance for the given SQL query string.
|
| public ProcedureCall | createStoredProcedureCall(String
The name of the procedure. procedureName)Implements org.
Deprecated
as a consequence of
Creates a call to a stored procedure.
ProcedureCall being deprecated.
|
| public ProcedureCall | createStoredProcedureCall(String
The name of the procedure. procedureName, Class<T>... The entity(s) to map the result on to. resultClasses)Implements org.
Deprecated
as a consequence of
Creates a call to a stored procedure with specific result set entity mappings.
ProcedureCall being deprecated.
|
| public ProcedureCall | createStoredProcedureCall(String
The name of the procedure. procedureName, String... The explicit result set mapping(s) to use for mapping the results resultSetMappings)Implements org.
Deprecated
as a consequence of
Creates a call to a stored procedure with specific result set entity mappings.
ProcedureCall being deprecated.
|
| public StoredProcedureQuery | createStoredProcedureQuery(String
name of the stored procedure in the
database procedureName)Implements javax. StoredProcedureQuery for executing a
stored procedure in the database.
|
| public StoredProcedureQuery | createStoredProcedureQuery(String
name of the stored procedure in the
database procedureName, Class<T>... classes to which the result sets
produced by the stored procedure are to
be mapped resultClasses)Implements javax. StoredProcedureQuery for executing a
stored procedure in the database.
|
| public StoredProcedureQuery | createStoredProcedureQuery(String
name of the stored procedure in the
database procedureName, String... the names of the result set mappings
to be used in mapping result sets
returned by the stored procedure resultSetMappings)Implements javax. StoredProcedureQuery for executing a
stored procedure in the database.
|
| protected SessionImplementor | delegate()
Deprecated
as a consequence of
Returns the underlying delegate.
SessionImplementor being deprecated.
|
| public void | delete(Object
the instance to be removed object)Implements org. |
| public void | delete(String
The entity name for the instance to be removed. entityName, Object the instance to be removed object)Implements org. |
| public void | delete(String entityName, Object child, boolean isCascadeDeleteEnabled, Set<E> transientEntities)
Implements org. |
| public void | detach(Object
entity instance entity)Implements javax. |
| public void | disableFetchProfile(String
The name of the fetch profile to be disabled. name)Implements org. |
| public void | disableFilter(String
The name of the filter to be disabled. filterName)Implements org. |
| public Connection | disconnect()
Implements org. |
| public <T> T | doReturningWork(ReturningWork<T>
The work to be performed. work)Overrides default org. |
| public void | doWork(Work
The work to be performed. work)Overrides default org. |
| public void | enableFetchProfile(String
The name of the fetch profile to be enabled. name)Implements org. |
| public Filter | enableFilter(String
The name of the filter to be enabled. filterName)Implements org. |
| public void | evict(Object
The entity to evict object)Implements org. |
| public <T> T | execute(LobCreationContext.
The callback to execute . callbackImplements org. Connection.
|
| public int | executeNativeUpdate(NativeSQLQuerySpecification specification, QueryParameters queryParameters)
Implements org. |
| public int | executeUpdate(String query, QueryParameters queryParameters)
Implements org. |
| public <T> T | find(Class<T>
entity class entityClass, Object primary key primaryKey)Implements javax. |
| public <T> T | |
| public <T> T | find(Class<T>
entity class entityClass, Object primary key primaryKey, LockModeType lock mode lockMode)Implements javax. |
| public <T> T | find(Class<T>
entity class entityClass, Object primary key primaryKey, LockModeType lock mode lockMode, Map<String, Object> standard and vendor-specific properties
and hints properties)Implements javax. |
| public void | flush()
Implements org. |
| public void | |
| public void | |
| public EntityKey | generateEntityKey(Serializable
The entity id id, EntityPersister The entity persister persister)Implements org. |
| public <T> T | get(Class<T>
The entity type theClass, Serializable an identifier id)Implements org. |
| public <T> T | get(Class<T>
The entity type theClass, Serializable an identifier id, LockMode the lock mode lockMode)Implements org. |
| public <T> T | get(Class<T>
The entity type theClass, Serializable an identifier id, LockOptions the lock mode lockOptions)Implements org. |
| public Object | get(String
the entity name entityName, Serializable an identifier id)Implements org. |
| public Object | get(String
the entity name entityName, Serializable an identifier id, LockMode the lock mode lockMode)Implements org. |
| public Object | get(String
the entity name entityName, Serializable an identifier id, LockOptions contains the lock mode lockOptions)Implements org. |
| public ActionQueue | |
| public CacheMode | getCacheMode()
Implements org. |
| public CacheTransactionSynchronization | getCacheTransactionSynchronization()
Implements org. |
| public Serializable | getContextEntityIdentifier(Object object)
Implements org. |
| public CriteriaBuilder | getCriteriaBuilder()
Implements javax. CriteriaBuilder for the creation of
CriteriaQuery objects.
|
| public LockMode | getCurrentLockMode(Object
a persistent instance object)Implements org. |
| public Object | getDelegate()
Implements javax. |
| public int | |
| public Filter | getEnabledFilter(String
The name of the filter to be retrieved. filterName)Implements org. |
| public RootGraphImplementor | getEntityGraph(String
name of an existing entity graph graphName)Implements org. |
| public <T> List | getEntityGraphs(Class<T>
entity class entityClass)Overrides default org. Implements javax. |
| public EntityManagerFactory | getEntityManagerFactory()
Implements javax. |
| public String | getEntityName(Object
a persistent entity object)Implements org. |
| public EntityPersister | getEntityPersister(String
optional entity name entityName, Object the entity instance object)Implements org. |
| public Object | getEntityUsingInterceptor(EntityKey key)
Implements org. |
| public SessionEventListenerManager | |
| public ExceptionConverter | getExceptionConverter()
Implements org. |
| public SessionFactoryImplementor | getFactory()
Implements org.
Deprecated
as a consequence of
Get the creating SessionFactoryImplementor
SessionFactoryImplementor being deprecated.
|
| public FlushModeType | getFlushMode()
Implements org. |
| public FlushMode | getHibernateFlushMode()
Implements org. |
| public Serializable | getIdentifier(Object
a persistent instance object)Implements org. |
| public Interceptor | getInterceptor()
Implements org. |
| public Integer | getJdbcBatchSize()
Implements org. |
| public JdbcConnectionAccess | |
| public JdbcCoordinator | |
| public JdbcServices | |
| public JdbcSessionContext | |
| public TimeZone | getJdbcTimeZone()
Implements org. TimeZone used when persisting Timestamp and DateTime properties into the database.
|
| public LoadQueryInfluencers | getLoadQueryInfluencers()
Implements org. |
| public LobCreator | getLobCreator()
Implements org. LobCreator
|
| public LobHelper | getLobHelper()
Implements org. |
| public LockModeType | getLockMode(Object
entity instance entity)Implements javax. |
| public LockOptions | getLockRequest(LockModeType
is the requested lock type lockModeType, Map<String, Object> are the lock properties properties)Implements org. javax. & properties into org.
|
| public Metamodel | getMetamodel()
Implements javax. Metamodel interface for access to the
metamodel of the persistence unit.
|
| public NativeQueryImplementor | getNamedNativeQuery(String
The name of the pre-defined query name)Implements org.
Deprecated
as a consequence of
Get a NativeQuery instance for a named native SQL query
NativeQueryImplementor being deprecated.
|
| public ProcedureCall | getNamedProcedureCall(String
The name given to the template name)Implements org.
Deprecated
as a consequence of
Gets a ProcedureCall based on a named template
ProcedureCall being deprecated.
|
| public QueryImplementor | getNamedQuery(String
the name of a pre-defined, named query name)Implements org.
Deprecated
as a consequence of
Create a QueryImplementor being deprecated.
Query instance for the named query.
|
| public NativeQueryImplementor | getNamedSQLQuery(String
The name of the pre-defined query name)Implements org.
Deprecated
as a consequence of
Get a NativeQuery instance for a named native SQL query
NativeQueryImplementor being deprecated.
|
| public PersistenceContext | getPersistenceContext()
Implements org. |
| public PersistenceContext | getPersistenceContextInternal()
Implements org. getPersistenceContext(), with
two main differences:
a) this version performs better as
it allows for inlining and probably better prediction
b) see SessionImplgetPersistenceContext() : it
does some checks on the current state of the Session.
|
| public Map | getProperties()
Implements javax. |
| public <T> T | getReference(Class<T>
entity class entityClass, Object primary key primaryKey)Implements javax. |
| public <T> T | getReference(T
a detached persistent instance object)Overrides default org. |
| public SessionImplementor | getSession()
Implements org.
Deprecated
as a consequence of
Retrieve a reference to the Hibernate SessionImplementor being deprecated.
org. used by this javax..
|
| public SessionFactoryImplementor | getSessionFactory()
Implements org.
Deprecated
as a consequence of
Get the session factory which created this session.
SessionFactoryImplementor being deprecated.
|
| public UUID | getSessionIdentifier()
Implements org. |
| public SessionStatistics | |
| public String | getTenantIdentifier()
Implements org. |
| public long | getTimestamp()
Overrides default org. |
| public Transaction | getTransaction()
Implements org. Transaction instance associated with this session.
|
| public TransactionCoordinator | getTransactionCoordinator()
Implements org. |
| public long | getTransactionStartTimestamp()
Implements org. |
| public TypeHelper | getTypeHelper()
Implements org. TypeHelper associated with this session's SessionFactory.
|
| public String | guessEntityName(Object entity)
Implements org. |
| public Object | immediateLoad(String entityName, Serializable id)
Implements org. |
| public void | initializeCollection(PersistentCollection collection, boolean writing)
Implements org. |
| public Object | instantiate(String entityName, Serializable id)
Implements org. |
| public Object | instantiate(EntityPersister persister, Serializable id)
Implements org. |
| public Object | internalLoad(String entityName, Serializable id, boolean eager, boolean nullable)
Implements org. |
| public boolean | |
| public boolean | isClosed()
Implements org. |
| public boolean | isConnected()
Implements org. |
| public boolean | isDefaultReadOnly()
Implements org. |
| public boolean | isDirty()
Implements org. |
| public boolean | |
| public boolean | isFetchProfileEnabled(String
The name of the profile to be checked. name)Implements org. |
| public boolean | |
| public boolean | isJoinedToTransaction()
Implements javax. |
| public boolean | isOpen()
Implements org. |
| public boolean | isOpenOrWaitingForAutoClose()
Overrides default org. |
| public boolean | |
| public boolean | isReadOnly(Object
an entity or HibernateProxy entityOrProxy)Implements org. |
| public boolean | isTransactionInProgress()
Implements org. |
| public Iterator | iterate(String query, QueryParameters queryParameters)
Implements org. |
| public Iterator | iterateFilter(Object collection, String filter, QueryParameters queryParameters)
Implements org. |
| public void | joinTransaction()
Implements javax. |
| public List | list(String query, QueryParameters queryParameters)
Implements org. |
| public List | list(Criteria criteria)
Implements org. |
| public List | list(NativeSQLQuerySpecification
The specification of the native SQL query to execute. spec, QueryParameters The parameters by which to perform the execution. queryParameters)Implements org. |
| public List | listCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)
Implements org. |
| public List | listFilter(Object collection, String filter, QueryParameters queryParameters)
Implements org. |
| public <T> T | load(Class<T>
a persistent class theClass, Serializable a valid identifier of an existing persistent instance of the class id, LockMode the lock level lockMode)Implements org. |
| public <T> T | load(Class<T>
a persistent class theClass, Serializable a valid identifier of an existing persistent instance of the class id, LockOptions contains the lock level lockOptions)Implements org. |
| public Object | load(String
a persistent class entityName, Serializable a valid identifier of an existing persistent instance of the class id, LockMode the lock level lockMode)Implements org. |
| public Object | load(String
a persistent class entityName, Serializable a valid identifier of an existing persistent instance of the class id, LockOptions contains the lock level lockOptions)Implements org. |
| public <T> T | load(Class<T>
a persistent class theClass, Serializable a valid identifier of an existing persistent instance of the class id)Implements org. |
| public Object | load(String
a persistent class entityName, Serializable a valid identifier of an existing persistent instance of the class id)Implements org. |
| public void | load(Object
an "empty" instance of the persistent class object, Serializable a valid identifier of an existing persistent instance of the class id)Implements org. |
| public void | lock(Object
entity instance entity, LockModeType lock mode lockMode)Implements javax. |
| public void | lock(Object
entity instance entity, LockModeType lock mode lockMode, Map<String, Object> standard and vendor-specific properties
and hints properties)Implements javax. |
| public void | lock(Object
a persistent or transient instance object, LockMode the lock level lockMode)Implements org. |
| public void | lock(String
The name of the entity entityName, Object a persistent or transient instance object, LockMode the lock level lockMode)Implements org. |
| public void | markForRollbackOnly()
Implements org. |
| public Object | merge(Object
a detached instance with state to be copied object)Implements org. |
| public Object | merge(String
The entity name entityName, Object a detached instance with state to be copied object)Implements org. |
| public void | merge(String entityName, Object object, Map<K, V> copiedAlready)
Implements org. |
| public void | persist(Object
a transient instance to be made persistent object)Implements org. |
| public void | persist(String
The entity name entityName, Object a transient instance to be made persistent object)Implements org. |
| public void | persist(String entityName, Object object, Map<K, V> createdAlready)
Implements org. |
| public void | persistOnFlush(String entityName, Object object, Map<K, V> copiedAlready)
Implements org. |
| public void | reconnect(Connection
a JDBC connection connection)Implements org. |
| public void | refresh(Object
a persistent or detached instance object)Implements org. |
| public void | refresh(Object
entity instance entity, Map<String, Object> standard and vendor-specific properties
and hints properties)Implements javax. |
| public void | refresh(Object
entity instance entity, LockModeType lock mode lockMode)Implements javax. |
| public void | refresh(Object
entity instance entity, LockModeType lock mode lockMode, Map<String, Object> standard and vendor-specific properties
and hints properties)Implements javax. |
| public void | refresh(String
a persistent class entityName, Object a persistent or detached instance object)Implements org. |
| public void | refresh(Object
a persistent or detached instance object, LockMode the lock mode to use lockMode)Implements org. |
| public void | refresh(Object
a persistent or detached instance object, LockOptions contains the lock mode to use lockOptions)Implements org. |
| public void | refresh(String
a persistent class entityName, Object a persistent or detached instance object, LockOptions contains the lock mode to use lockOptions)Implements org. |
| public void | refresh(String entityName, Object object, Map<K, V> refreshedAlready)
Implements org. |
| public SqlTypeDescriptor | remapSqlTypeDescriptor(SqlTypeDescriptor
The known descriptor sqlTypeDescriptor)Implements org. |
| public void | remove(Object
entity instance entity)Implements javax. |
| public void | removeOrphanBeforeUpdates(String entityName, Object child)
Implements org. |
| public void | replicate(Object
a detached instance of a persistent class object, ReplicationMode The replication mode to use replicationMode)Implements org. |
| public void | replicate(String
The entity name entityName, Object a detached instance of a persistent class object, ReplicationMode The replication mode to use replicationMode)Implements org. |
| public Serializable | save(Object
a transient instance of a persistent class object)Implements org. |
| public Serializable | save(String
The entity name entityName, Object a transient instance of a persistent class object)Implements org. |
| public void | saveOrUpdate(Object
a transient or detached instance containing new or updated state object)Implements org. save(Object) or update(Object) the given
instance, depending upon resolution of the unsaved-value checks (see the
manual for discussion of unsaved-value checking).
|
| public void | saveOrUpdate(String
The entity name entityName, Object a transient or detached instance containing new or updated state object)Implements org. save(String, Object) or update(String, Object)
the given instance, depending upon resolution of the unsaved-value checks
(see the manual for discussion of unsaved-value checking).
|
| public ScrollableResultsImplementor | scroll(String query, QueryParameters queryParameters)
Implements org. |
| public ScrollableResultsImplementor | scroll(Criteria criteria, ScrollMode scrollMode)
Implements org. |
| public ScrollableResultsImplementor | scroll(NativeSQLQuerySpecification
The specification of the native SQL query to execute. spec, QueryParameters The parameters by which to perform the execution. queryParameters)Implements org. |
| public ScrollableResultsImplementor | scrollCustomQuery(CustomQuery customQuery, QueryParameters queryParameters)
Implements org. |
| public SharedSessionBuilder | sessionWithOptions()
Implements org. Session builder with the ability to grab certain information from this session.
|
| public void | setAutoClear(boolean enabled)
Implements org. |
| public void | setCacheMode(CacheMode
The new cache mode. cm)Implements org. |
| public void | setDefaultReadOnly(boolean
true, the default for loaded entities/proxies is read-only;
false, the default for loaded entities/proxies is modifiable readOnly)Implements org. |
| public void | setFlushMode(FlushModeType
flush mode flushModeType)Implements javax. |
| public void | setFlushMode(FlushMode
the new flush mode fm)Implements org. |
| public void | setHibernateFlushMode(FlushMode
the new flush mode flushMode)Implements org. |
| public void | setJdbcBatchSize(Integer
Session-level JDBC batch size jdbcBatchSize)Implements org. |
| public void | setProperty(String
name of property or hint propertyName, Object value for property or hint value)Implements javax. |
| public void | setReadOnly(Object
an entity or HibernateProxy entityOrProxy, boolean true if the entity or proxy should be made read-only; false if the entity or
proxy should be made modifiableImplements org. |
| public boolean | |
| public boolean | shouldAutoJoinTransaction()
Implements org. |
| public void | startTransactionBoundary()
Implements org. org. API or via registration
of Hibernate's JTA Synchronization impl with a JTA Transaction
|
| public <T> T | unwrap(Class<T>
the class of the object to be returned. This is
normally either the underlying cls)EntityManager implementation
class or an interface that it implements.Implements javax. |
| public void | update(Object
a detached instance containing updated state object)Implements org. |
| public void | update(String
The entity name entityName, Object a detached instance containing updated state object)Implements org. |
| public boolean | useStreamForLobBinding()
Implements org. |