public class HibernateStatelessSession extends AbstractHibernateSession
Session interface.| Modifier and Type | Field and Description |
|---|---|
protected org.hibernate.StatelessSession |
session
The Hibernate session object.
|
| Constructor and Description |
|---|
HibernateStatelessSession(org.hibernate.StatelessSession session)
Create a new session with the given Hibernate session object.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.hibernate.Transaction |
beginTransactionImpl()
Subclass specific implementation of session beginTransaction.
|
protected org.hibernate.Query |
buildQueryImpl(String queryString)
Subclass specific implementation of buildQuery.
|
protected void |
closeImpl()
Subclass specific implementation of session close.
|
protected org.hibernate.Criteria |
createCriteriaImpl(FindData findData)
Subclass specific implementation of createCriteria.
|
protected void |
deleteImpl(Object object)
Subclass specific implementation of delete.
|
protected void |
flushImpl()
Subclass specific implementation of session flush.
|
org.hibernate.StatelessSession |
getSession()
Get access to the Hibernate Session object
|
protected boolean |
hasActiveTransactionImpl()
Subclass specific implementation of session hasActiveTransaction.
|
boolean |
hasLockFlag(Class<?> domainClass)
Return true if the domain class uses lock flags (optimistic
locking) in the database.
|
void |
initialize(Object object)
Initialize (load) a proxy object or collection from the database.
|
protected Serializable |
insertImpl(Object object)
Subclass specific implementation of insert.
|
protected Object |
mergeImpl(Object object)
Subclass specific implementation of merge.
|
protected void |
refreshImpl(Object object)
Subclass specific implementation of refresh.
|
protected Object |
simpleGetImpl(FindData findData)
Subclass specific implementation of simpleGet.
|
protected void |
updateImpl(Object object)
Subclass specific implementation of update.
|
applyFindData, applyFindData, applyFindDataAlias, applyFindDataProjection, beginTransaction, buildCriterionList, buildQueryParameterValueList, buildQueryString, canRollbackTransaction, close, commitTransaction, delete, flush, get, getAll, hasActiveTransaction, insert, isInitialized, merge, qbc, qbe, query, refresh, rollbackTransaction, simpleGet, updatepublic HibernateStatelessSession(org.hibernate.StatelessSession session)
session - (missing javadoc)public org.hibernate.StatelessSession getSession()
getSession in class AbstractHibernateSessionpublic boolean hasLockFlag(Class<?> domainClass)
SessiondomainClass - the domain class to check.protected Object simpleGetImpl(FindData findData)
AbstractHibernateSessionsimpleGetImpl in class AbstractHibernateSessionfindData - - the class and key info for the get operation.protected org.hibernate.Criteria createCriteriaImpl(FindData findData)
AbstractHibernateSessioncreateCriteriaImpl in class AbstractHibernateSessionfindData - - the FindData input for the criteria to be created.protected Serializable insertImpl(Object object)
AbstractHibernateSessioninsertImpl in class AbstractHibernateSessionobject - - the object to insert.protected void updateImpl(Object object)
AbstractHibernateSessionupdateImpl in class AbstractHibernateSessionobject - - the object to update.protected Object mergeImpl(Object object)
AbstractHibernateSessionmergeImpl in class AbstractHibernateSessionobject - - the object to merge.protected void deleteImpl(Object object)
AbstractHibernateSessiondeleteImpl in class AbstractHibernateSessionobject - - the object to delete.protected void refreshImpl(Object object)
AbstractHibernateSessionrefreshImpl in class AbstractHibernateSessionobject - - the object to refresh.protected void closeImpl()
AbstractHibernateSessioncloseImpl in class AbstractHibernateSessionprotected void flushImpl()
AbstractHibernateSessionflushImpl in class AbstractHibernateSessionprotected org.hibernate.Transaction beginTransactionImpl()
AbstractHibernateSessionbeginTransactionImpl in class AbstractHibernateSessionprotected boolean hasActiveTransactionImpl()
AbstractHibernateSessionhasActiveTransactionImpl in class AbstractHibernateSessionprotected org.hibernate.Query buildQueryImpl(String queryString)
AbstractHibernateSessionbuildQueryImpl in class AbstractHibernateSessionqueryString - - the input for the query.public void initialize(Object object) throws G9DataAccessException
Sessioninitialize in interface Sessioninitialize in class AbstractHibernateSessionobject - (missing javadoc)G9DataAccessExceptionCopyright © 2006–2020 Esito AS. All rights reserved.