Package org.hibernate.search.impl
Class FullTextSessionImpl
java.lang.Object
org.hibernate.search.impl.FullTextSessionImpl
- All Implemented Interfaces:
Serializable,org.hibernate.classic.Session,org.hibernate.engine.SessionImplementor,FullTextSession,org.hibernate.Session
public class FullTextSessionImpl
extends Object
implements FullTextSession, org.hibernate.engine.SessionImplementor
Lucene full text search aware session.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.Session
org.hibernate.Session.LockRequest -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidafterTransactionCompletion(boolean successful, org.hibernate.Transaction tx) voidapplyNonFlushedChanges(org.hibernate.engine.NonFlushedChanges nonFlushedChanges) voidbestGuessEntityName(Object object) buildLockRequest(org.hibernate.LockOptions lockOptions) voidvoidclear()close()booleancreateCriteria(Class persistentClass) createCriteria(Class persistentClass, String alias) createCriteria(String entityName) createCriteria(String entityName, String alias) createFilter(Object collection, String queryString) createFullTextQuery(Query luceneQuery, Class... entities) Execute a Lucene query and retrieve managed objects of type entities (or their indexed subclasses) If entities is empty, include all indexed entitiescreateIndexer(Class<?>... types) Creates a MassIndexer to rebuild the indexes of some or all indexed entity types.createQuery(String queryString) createSQLQuery(String queryString) createSQLQuery(String sql, String[] returnAliases, Class[] returnClasses) createSQLQuery(String sql, String returnAlias, Class returnClass) voidintvoidintdelete(String query, Object[] values, org.hibernate.type.Type[] types) intdelete(String query, Object value, org.hibernate.type.Type type) voiddisableFetchProfile(String name) voiddisableFilter(String filterName) voidvoidenableFetchProfile(String name) enableFilter(String filterName) voidintexecuteNativeUpdate(org.hibernate.engine.query.sql.NativeSQLQuerySpecification specification, org.hibernate.engine.QueryParameters queryParameters) intexecuteUpdate(String query, org.hibernate.engine.QueryParameters queryParameters) filter(Object collection, String filter, Object[] values, org.hibernate.type.Type[] types) filter(Object collection, String filter, Object value, org.hibernate.type.Type type) find(String query, Object[] values, org.hibernate.type.Type[] types) find(String query, Object value, org.hibernate.type.Type type) voidflush()voidFlush all index changes forcing Hibernate Search to apply all changes to the index not waiting for the batch limit.get(Class clazz, Serializable id) get(Class clazz, Serializable id, org.hibernate.LockMode lockMode) get(Class clazz, Serializable id, org.hibernate.LockOptions lockOptions) get(String entityName, Serializable id) get(String entityName, Serializable id, org.hibernate.LockMode lockMode) get(String entityName, Serializable id, org.hibernate.LockOptions lockOptions) getContextEntityIdentifier(Object object) getCurrentLockMode(Object object) intgetEnabledFilter(String filterName) getEntityName(Object object) getEntityPersister(String entityName, Object object) getFilterParameterType(String filterParameterName) getFilterParameterValue(String filterParameterName) getIdentifier(Object object) getNamedQuery(String queryName) getNamedSQLQuery(String name) getSession(org.hibernate.EntityMode entityMode) longguessEntityName(Object entity) immediateLoad(String entityName, Serializable id) <T> voidindex(T entity) (Re-)index an entity.voidinitializeCollection(org.hibernate.collection.PersistentCollection collection, boolean writing) instantiate(String entityName, Serializable id) internalLoad(String entityName, Serializable id, boolean eager, boolean nullable) booleanisClosed()booleanbooleanbooleanisDirty()booleanbooleanisFetchProfileEnabled(String name) booleanisOpen()booleanisReadOnly(Object entityOrProxy) booleaniterate(String query, Object[] values, org.hibernate.type.Type[] types) iterate(String query, Object value, org.hibernate.type.Type type) iterate(String query, org.hibernate.engine.QueryParameters queryParameters) iterateFilter(Object collection, String filter, org.hibernate.engine.QueryParameters queryParameters) list(String query, org.hibernate.engine.QueryParameters queryParameters) list(org.hibernate.engine.query.sql.NativeSQLQuerySpecification spec, org.hibernate.engine.QueryParameters queryParameters) list(org.hibernate.impl.CriteriaImpl criteria) listCustomQuery(org.hibernate.loader.custom.CustomQuery customQuery, org.hibernate.engine.QueryParameters queryParameters) listFilter(Object collection, String filter, org.hibernate.engine.QueryParameters queryParameters) load(Class theClass, Serializable id) load(Class theClass, Serializable id, org.hibernate.LockMode lockMode) load(Class theClass, Serializable id, org.hibernate.LockOptions lockOptions) voidload(Object object, Serializable id) load(String entityName, Serializable id) load(String entityName, Serializable id, org.hibernate.LockMode lockMode) load(String entityName, Serializable id, org.hibernate.LockOptions lockOptions) voidlock(Object object, org.hibernate.LockMode lockMode) voidlock(String entityName, Object object, org.hibernate.LockMode lockMode) voidvoid<T> voidpurge(Class<T> entityType, Serializable id) Remove the entity with the typeentityTypeand the identifieridfrom the index.<T> voidRemove all entities from of particular class and all its subclasses from the index.voidvoidreconnect(Connection connection) voidvoidrefresh(Object object, org.hibernate.LockMode lockMode) voidrefresh(Object object, org.hibernate.LockOptions lockOptions) voidreplicate(Object object, org.hibernate.ReplicationMode replicationMode) voidreplicate(String entityName, Object object, org.hibernate.ReplicationMode replicationMode) voidsave(Object object, Serializable id) voidsave(String entityName, Object object, Serializable id) voidsaveOrUpdate(Object object) voidsaveOrUpdate(String entityName, Object object) saveOrUpdateCopy(Object object) saveOrUpdateCopy(Object object, Serializable id) saveOrUpdateCopy(String entityName, Object object) saveOrUpdateCopy(String entityName, Object object, Serializable id) scroll(String query, org.hibernate.engine.QueryParameters queryParameters) scroll(org.hibernate.engine.query.sql.NativeSQLQuerySpecification spec, org.hibernate.engine.QueryParameters queryParameters) scroll(org.hibernate.impl.CriteriaImpl criteria, org.hibernate.ScrollMode scrollMode) scrollCustomQuery(org.hibernate.loader.custom.CustomQuery customQuery, org.hibernate.engine.QueryParameters queryParameters) voidsetAutoClear(boolean enabled) voidsetCacheMode(org.hibernate.CacheMode cacheMode) voidsetDefaultReadOnly(boolean readOnly) voidsetFetchProfile(String name) voidsetFlushMode(org.hibernate.FlushMode flushMode) voidsetReadOnly(Object entity, boolean readOnly) voidvoidupdate(Object object, Serializable id) voidvoidupdate(String entityName, Object object, Serializable id)
-
Constructor Details
-
FullTextSessionImpl
-
-
Method Details
-
createFullTextQuery
Execute a Lucene query and retrieve managed objects of type entities (or their indexed subclasses) If entities is empty, include all indexed entities- Specified by:
createFullTextQueryin interfaceFullTextSession- Parameters:
luceneQuery- The native Lucene query to be run against the Lucene index.entities- must be immutable for the lifetime of the query object- Returns:
- A
FullTextQuerywrapping around the native Lucene query.
-
purgeAll
Remove all entities from of particular class and all its subclasses from the index.- Specified by:
purgeAllin interfaceFullTextSession- Parameters:
entityType- The class of the entities to remove.
-
flushToIndexes
public void flushToIndexes()Description copied from interface:FullTextSessionFlush all index changes forcing Hibernate Search to apply all changes to the index not waiting for the batch limit.- Specified by:
flushToIndexesin interfaceFullTextSession
-
purge
Remove the entity with the typeentityTypeand the identifieridfrom the index. Ifid == nullall indexed entities of this type and its indexed subclasses are deleted. In this case this method behaves likeFullTextSession.purgeAll(Class).- Specified by:
purgein interfaceFullTextSession- Parameters:
entityType- The type of the entity to delete.id- The id of the entity to delete.
-
index
public <T> void index(T entity) (Re-)index an entity. The entity must be associated with the session and non indexable entities are ignored.- Specified by:
indexin interfaceFullTextSession- Parameters:
entity- The entity to index - must not benull.- Throws:
IllegalArgumentException- if entity is null or not an @Indexed entity
-
createIndexer
Description copied from interface:FullTextSessionCreates a MassIndexer to rebuild the indexes of some or all indexed entity types. Instances cannot be reused.- Specified by:
createIndexerin interfaceFullTextSession- Parameters:
types- optionally restrict the operation to selected types- Returns:
-
getSearchFactory
- Specified by:
getSearchFactoryin interfaceFullTextSession- Returns:
- the
SearchFactoryinstance.
-
createSQLQuery
- Specified by:
createSQLQueryin interfaceorg.hibernate.classic.Session
-
createSQLQuery
public org.hibernate.Query createSQLQuery(String sql, String[] returnAliases, Class[] returnClasses) - Specified by:
createSQLQueryin interfaceorg.hibernate.classic.Session
-
delete
- Specified by:
deletein interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
delete
public int delete(String query, Object value, org.hibernate.type.Type type) throws org.hibernate.HibernateException - Specified by:
deletein interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
delete
public int delete(String query, Object[] values, org.hibernate.type.Type[] types) throws org.hibernate.HibernateException - Specified by:
deletein interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
filter
- Specified by:
filterin interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
filter
public Collection filter(Object collection, String filter, Object value, org.hibernate.type.Type type) throws org.hibernate.HibernateException - Specified by:
filterin interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
filter
public Collection filter(Object collection, String filter, Object[] values, org.hibernate.type.Type[] types) throws org.hibernate.HibernateException - Specified by:
filterin interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
find
- Specified by:
findin interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
find
public List find(String query, Object value, org.hibernate.type.Type type) throws org.hibernate.HibernateException - Specified by:
findin interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
find
public List find(String query, Object[] values, org.hibernate.type.Type[] types) throws org.hibernate.HibernateException - Specified by:
findin interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
iterate
- Specified by:
iteratein interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
iterate
public Iterator iterate(String query, Object value, org.hibernate.type.Type type) throws org.hibernate.HibernateException - Specified by:
iteratein interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
iterate
public Iterator iterate(String query, Object[] values, org.hibernate.type.Type[] types) throws org.hibernate.HibernateException - Specified by:
iteratein interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
save
public void save(String entityName, Object object, Serializable id) throws org.hibernate.HibernateException - Specified by:
savein interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
save
- Specified by:
savein interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
saveOrUpdateCopy
public Object saveOrUpdateCopy(String entityName, Object object) throws org.hibernate.HibernateException - Specified by:
saveOrUpdateCopyin interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
saveOrUpdateCopy
public Object saveOrUpdateCopy(String entityName, Object object, Serializable id) throws org.hibernate.HibernateException - Specified by:
saveOrUpdateCopyin interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
saveOrUpdateCopy
- Specified by:
saveOrUpdateCopyin interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
saveOrUpdateCopy
public Object saveOrUpdateCopy(Object object, Serializable id) throws org.hibernate.HibernateException - Specified by:
saveOrUpdateCopyin interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
update
public void update(String entityName, Object object, Serializable id) throws org.hibernate.HibernateException - Specified by:
updatein interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
update
- Specified by:
updatein interfaceorg.hibernate.classic.Session- Throws:
org.hibernate.HibernateException
-
beginTransaction
- Specified by:
beginTransactionin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
cancelQuery
- Specified by:
cancelQueryin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
clear
public void clear()- Specified by:
clearin interfaceorg.hibernate.Session
-
close
- Specified by:
closein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
connection
- Specified by:
connectionin interfaceorg.hibernate.Session- Specified by:
connectionin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
contains
- Specified by:
containsin interfaceorg.hibernate.Session
-
createCriteria
- Specified by:
createCriteriain interfaceorg.hibernate.Session
-
createCriteria
- Specified by:
createCriteriain interfaceorg.hibernate.Session
-
createCriteria
- Specified by:
createCriteriain interfaceorg.hibernate.Session
-
createCriteria
- Specified by:
createCriteriain interfaceorg.hibernate.Session
-
createFilter
public org.hibernate.Query createFilter(Object collection, String queryString) throws org.hibernate.HibernateException - Specified by:
createFilterin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
createQuery
- Specified by:
createQueryin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
createSQLQuery
public org.hibernate.SQLQuery createSQLQuery(String queryString) throws org.hibernate.HibernateException - Specified by:
createSQLQueryin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
delete
- Specified by:
deletein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
delete
- Specified by:
deletein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
disableFilter
- Specified by:
disableFilterin interfaceorg.hibernate.Session
-
disconnect
- Specified by:
disconnectin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
enableFilter
- Specified by:
enableFilterin interfaceorg.hibernate.Session
-
evict
- Specified by:
evictin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
flush
- Specified by:
flushin interfaceorg.hibernate.Session- Specified by:
flushin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
get
- Specified by:
getin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
get
public Object get(Class clazz, Serializable id, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException - Specified by:
getin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
get
public Object get(Class clazz, Serializable id, org.hibernate.LockOptions lockOptions) throws org.hibernate.HibernateException - Specified by:
getin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
get
- Specified by:
getin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
get
public Object get(String entityName, Serializable id, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException - Specified by:
getin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
get
public Object get(String entityName, Serializable id, org.hibernate.LockOptions lockOptions) throws org.hibernate.HibernateException - Specified by:
getin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
getCacheMode
- Specified by:
getCacheModein interfaceorg.hibernate.Session- Specified by:
getCacheModein interfaceorg.hibernate.engine.SessionImplementor
-
getCurrentLockMode
public org.hibernate.LockMode getCurrentLockMode(Object object) throws org.hibernate.HibernateException - Specified by:
getCurrentLockModein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
getEnabledFilter
- Specified by:
getEnabledFilterin interfaceorg.hibernate.Session
-
getInterceptor
- Specified by:
getInterceptorin interfaceorg.hibernate.engine.SessionImplementor
-
setAutoClear
public void setAutoClear(boolean enabled) - Specified by:
setAutoClearin interfaceorg.hibernate.engine.SessionImplementor
-
isTransactionInProgress
public boolean isTransactionInProgress()- Specified by:
isTransactionInProgressin interfaceorg.hibernate.engine.SessionImplementor
-
initializeCollection
public void initializeCollection(org.hibernate.collection.PersistentCollection collection, boolean writing) throws org.hibernate.HibernateException - Specified by:
initializeCollectionin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
internalLoad
public Object internalLoad(String entityName, Serializable id, boolean eager, boolean nullable) throws org.hibernate.HibernateException - Specified by:
internalLoadin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
immediateLoad
public Object immediateLoad(String entityName, Serializable id) throws org.hibernate.HibernateException - Specified by:
immediateLoadin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
getTimestamp
public long getTimestamp()- Specified by:
getTimestampin interfaceorg.hibernate.engine.SessionImplementor
-
getFactory
- Specified by:
getFactoryin interfaceorg.hibernate.engine.SessionImplementor
-
getBatcher
- Specified by:
getBatcherin interfaceorg.hibernate.engine.SessionImplementor
-
list
public List list(String query, org.hibernate.engine.QueryParameters queryParameters) throws org.hibernate.HibernateException - Specified by:
listin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
iterate
public Iterator iterate(String query, org.hibernate.engine.QueryParameters queryParameters) throws org.hibernate.HibernateException - Specified by:
iteratein interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
scroll
public org.hibernate.ScrollableResults scroll(String query, org.hibernate.engine.QueryParameters queryParameters) throws org.hibernate.HibernateException - Specified by:
scrollin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
scroll
public org.hibernate.ScrollableResults scroll(org.hibernate.impl.CriteriaImpl criteria, org.hibernate.ScrollMode scrollMode) - Specified by:
scrollin interfaceorg.hibernate.engine.SessionImplementor
-
list
- Specified by:
listin interfaceorg.hibernate.engine.SessionImplementor
-
listFilter
public List listFilter(Object collection, String filter, org.hibernate.engine.QueryParameters queryParameters) throws org.hibernate.HibernateException - Specified by:
listFilterin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
iterateFilter
public Iterator iterateFilter(Object collection, String filter, org.hibernate.engine.QueryParameters queryParameters) throws org.hibernate.HibernateException - Specified by:
iterateFilterin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
getEntityPersister
public org.hibernate.persister.entity.EntityPersister getEntityPersister(String entityName, Object object) throws org.hibernate.HibernateException - Specified by:
getEntityPersisterin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
getEntityUsingInterceptor
public Object getEntityUsingInterceptor(org.hibernate.engine.EntityKey key) throws org.hibernate.HibernateException - Specified by:
getEntityUsingInterceptorin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
afterTransactionCompletion
- Specified by:
afterTransactionCompletionin interfaceorg.hibernate.engine.SessionImplementor
-
beforeTransactionCompletion
- Specified by:
beforeTransactionCompletionin interfaceorg.hibernate.engine.SessionImplementor
-
getContextEntityIdentifier
- Specified by:
getContextEntityIdentifierin interfaceorg.hibernate.engine.SessionImplementor
-
bestGuessEntityName
- Specified by:
bestGuessEntityNamein interfaceorg.hibernate.engine.SessionImplementor
-
guessEntityName
- Specified by:
guessEntityNamein interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
instantiate
public Object instantiate(String entityName, Serializable id) throws org.hibernate.HibernateException - Specified by:
instantiatein interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
listCustomQuery
public List listCustomQuery(org.hibernate.loader.custom.CustomQuery customQuery, org.hibernate.engine.QueryParameters queryParameters) throws org.hibernate.HibernateException - Specified by:
listCustomQueryin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
scrollCustomQuery
public org.hibernate.ScrollableResults scrollCustomQuery(org.hibernate.loader.custom.CustomQuery customQuery, org.hibernate.engine.QueryParameters queryParameters) throws org.hibernate.HibernateException - Specified by:
scrollCustomQueryin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
list
public List list(org.hibernate.engine.query.sql.NativeSQLQuerySpecification spec, org.hibernate.engine.QueryParameters queryParameters) throws org.hibernate.HibernateException - Specified by:
listin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
scroll
public org.hibernate.ScrollableResults scroll(org.hibernate.engine.query.sql.NativeSQLQuerySpecification spec, org.hibernate.engine.QueryParameters queryParameters) throws org.hibernate.HibernateException - Specified by:
scrollin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
getFilterParameterValue
- Specified by:
getFilterParameterValuein interfaceorg.hibernate.engine.SessionImplementor
-
getFilterParameterType
- Specified by:
getFilterParameterTypein interfaceorg.hibernate.engine.SessionImplementor
-
getEnabledFilters
- Specified by:
getEnabledFiltersin interfaceorg.hibernate.engine.SessionImplementor
-
getDontFlushFromFind
public int getDontFlushFromFind()- Specified by:
getDontFlushFromFindin interfaceorg.hibernate.engine.SessionImplementor
-
getListeners
- Specified by:
getListenersin interfaceorg.hibernate.engine.SessionImplementor
-
getPersistenceContext
- Specified by:
getPersistenceContextin interfaceorg.hibernate.engine.SessionImplementor
-
executeUpdate
public int executeUpdate(String query, org.hibernate.engine.QueryParameters queryParameters) throws org.hibernate.HibernateException - Specified by:
executeUpdatein interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
executeNativeUpdate
public int executeNativeUpdate(org.hibernate.engine.query.sql.NativeSQLQuerySpecification specification, org.hibernate.engine.QueryParameters queryParameters) throws org.hibernate.HibernateException - Specified by:
executeNativeUpdatein interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
getNonFlushedChanges
public org.hibernate.engine.NonFlushedChanges getNonFlushedChanges() throws org.hibernate.HibernateException- Specified by:
getNonFlushedChangesin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
applyNonFlushedChanges
public void applyNonFlushedChanges(org.hibernate.engine.NonFlushedChanges nonFlushedChanges) throws org.hibernate.HibernateException - Specified by:
applyNonFlushedChangesin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
getEntityMode
- Specified by:
getEntityModein interfaceorg.hibernate.Session- Specified by:
getEntityModein interfaceorg.hibernate.engine.SessionImplementor
-
getEntityName
- Specified by:
getEntityNamein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
getFlushMode
- Specified by:
getFlushModein interfaceorg.hibernate.Session- Specified by:
getFlushModein interfaceorg.hibernate.engine.SessionImplementor
-
getIdentifier
- Specified by:
getIdentifierin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
getNamedQuery
- Specified by:
getNamedQueryin interfaceorg.hibernate.Session- Specified by:
getNamedQueryin interfaceorg.hibernate.engine.SessionImplementor- Throws:
org.hibernate.HibernateException
-
getNamedSQLQuery
- Specified by:
getNamedSQLQueryin interfaceorg.hibernate.engine.SessionImplementor
-
isEventSource
public boolean isEventSource()- Specified by:
isEventSourcein interfaceorg.hibernate.engine.SessionImplementor
-
afterScrollOperation
public void afterScrollOperation()- Specified by:
afterScrollOperationin interfaceorg.hibernate.engine.SessionImplementor
-
setFetchProfile
- Specified by:
setFetchProfilein interfaceorg.hibernate.engine.SessionImplementor
-
getFetchProfile
- Specified by:
getFetchProfilein interfaceorg.hibernate.engine.SessionImplementor
-
getJDBCContext
- Specified by:
getJDBCContextin interfaceorg.hibernate.engine.SessionImplementor
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfaceorg.hibernate.engine.SessionImplementor
-
getLoadQueryInfluencers
- Specified by:
getLoadQueryInfluencersin interfaceorg.hibernate.engine.SessionImplementor
-
getSession
- Specified by:
getSessionin interfaceorg.hibernate.Session
-
getSessionFactory
- Specified by:
getSessionFactoryin interfaceorg.hibernate.Session
-
getStatistics
- Specified by:
getStatisticsin interfaceorg.hibernate.Session
-
isReadOnly
- Specified by:
isReadOnlyin interfaceorg.hibernate.Session
-
getTransaction
- Specified by:
getTransactionin interfaceorg.hibernate.Session
-
isConnected
public boolean isConnected()- Specified by:
isConnectedin interfaceorg.hibernate.Session- Specified by:
isConnectedin interfaceorg.hibernate.engine.SessionImplementor
-
isDirty
- Specified by:
isDirtyin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
isDefaultReadOnly
public boolean isDefaultReadOnly()- Specified by:
isDefaultReadOnlyin interfaceorg.hibernate.Session
-
isOpen
public boolean isOpen()- Specified by:
isOpenin interfaceorg.hibernate.Session- Specified by:
isOpenin interfaceorg.hibernate.engine.SessionImplementor
-
load
- Specified by:
loadin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
load
public Object load(String entityName, Serializable id, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException - Specified by:
loadin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
load
public Object load(String entityName, Serializable id, org.hibernate.LockOptions lockOptions) throws org.hibernate.HibernateException - Specified by:
loadin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
load
- Specified by:
loadin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
load
- Specified by:
loadin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
load
public Object load(Class theClass, Serializable id, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException - Specified by:
loadin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
load
public Object load(Class theClass, Serializable id, org.hibernate.LockOptions lockOptions) throws org.hibernate.HibernateException - Specified by:
loadin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
lock
public void lock(String entityName, Object object, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException - Specified by:
lockin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
buildLockRequest
- Specified by:
buildLockRequestin interfaceorg.hibernate.Session
-
lock
public void lock(Object object, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException - Specified by:
lockin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
merge
- Specified by:
mergein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
merge
- Specified by:
mergein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
persist
- Specified by:
persistin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
persist
- Specified by:
persistin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
reconnect
- Specified by:
reconnectin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
reconnect
- Specified by:
reconnectin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
refresh
- Specified by:
refreshin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
refresh
public void refresh(Object object, org.hibernate.LockMode lockMode) throws org.hibernate.HibernateException - Specified by:
refreshin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
refresh
public void refresh(Object object, org.hibernate.LockOptions lockOptions) throws org.hibernate.HibernateException - Specified by:
refreshin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
replicate
public void replicate(String entityName, Object object, org.hibernate.ReplicationMode replicationMode) throws org.hibernate.HibernateException - Specified by:
replicatein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
replicate
public void replicate(Object object, org.hibernate.ReplicationMode replicationMode) throws org.hibernate.HibernateException - Specified by:
replicatein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
save
- Specified by:
savein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
save
- Specified by:
savein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
saveOrUpdate
- Specified by:
saveOrUpdatein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
saveOrUpdate
- Specified by:
saveOrUpdatein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
setCacheMode
- Specified by:
setCacheModein interfaceorg.hibernate.Session- Specified by:
setCacheModein interfaceorg.hibernate.engine.SessionImplementor
-
setDefaultReadOnly
public void setDefaultReadOnly(boolean readOnly) - Specified by:
setDefaultReadOnlyin interfaceorg.hibernate.Session
-
setFlushMode
- Specified by:
setFlushModein interfaceorg.hibernate.Session- Specified by:
setFlushModein interfaceorg.hibernate.engine.SessionImplementor
-
setReadOnly
- Specified by:
setReadOnlyin interfaceorg.hibernate.Session
-
doWork
- Specified by:
doWorkin interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
update
- Specified by:
updatein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
update
- Specified by:
updatein interfaceorg.hibernate.Session- Throws:
org.hibernate.HibernateException
-
isFetchProfileEnabled
- Specified by:
isFetchProfileEnabledin interfaceorg.hibernate.Session- Throws:
org.hibernate.UnknownProfileException
-
enableFetchProfile
- Specified by:
enableFetchProfilein interfaceorg.hibernate.Session- Throws:
org.hibernate.UnknownProfileException
-
disableFetchProfile
- Specified by:
disableFetchProfilein interfaceorg.hibernate.Session- Throws:
org.hibernate.UnknownProfileException
-
getTypeHelper
- Specified by:
getTypeHelperin interfaceorg.hibernate.Session
-
getLobHelper
- Specified by:
getLobHelperin interfaceorg.hibernate.Session
-