@java.lang.SuppressWarnings("rawtypes") public abstract class AbstractHibernateSession extends AbstractAttributeStoringSession
Session implementation that wraps a Hibernate org.hibernate.Session.
Modifiers | Name | Description |
---|---|---|
protected boolean |
connected |
|
protected AbstractHibernateDatastore |
datastore |
|
protected IHibernateTemplate |
hibernateTemplate |
Fields inherited from class | Fields |
---|---|
class AbstractAttributeStoringSession |
attributes, sessionPropertyMap |
Constructor and description |
---|
protected AbstractHibernateSession
(AbstractHibernateDatastore hibernateDatastore, org.hibernate.SessionFactory sessionFactory) |
Type | Name and description |
---|---|
void |
attach(java.lang.Object o) |
Transaction |
beginTransaction() |
Transaction |
beginTransaction(org.springframework.transaction.TransactionDefinition definition) |
void |
clear() |
void |
clear(java.lang.Object o) |
boolean |
contains(java.lang.Object o) |
void |
delete(java.lang.Iterable objects) |
void |
delete(java.lang.Object obj) |
void |
disconnect() |
void |
flush() |
Datastore |
getDatastore() |
protected java.util.Collection |
getIterableAsCollection(java.lang.Iterable objects) |
MappingContext |
getMappingContext() |
java.lang.Object |
getNativeInterface() |
Persister |
getPersister(java.lang.Object o) |
Transaction |
getTransaction() |
boolean |
hasTransaction() |
java.io.Serializable |
insert(java.lang.Object o) |
boolean |
isConnected() |
boolean |
isDirty(java.lang.Object o) |
void |
lock(java.lang.Object o) |
T |
lock(java.lang.Class<T> type, java.io.Serializable key) |
java.io.Serializable |
persist(java.lang.Object o) |
java.util.List<java.io.Serializable> |
persist(java.lang.Iterable objects) |
T |
proxy(java.lang.Class<T> type, java.io.Serializable key) |
void |
refresh(java.lang.Object o) |
T |
retrieve(java.lang.Class<T> type, java.io.Serializable key) |
java.util.List |
retrieveAll(java.lang.Class type, java.io.Serializable... keys) |
void |
setSynchronizedWithTransaction(boolean synchronizedWithTransaction) |
void |
unlock(java.lang.Object o) |
Methods inherited from class | Name |
---|---|
class AbstractAttributeStoringSession |
clearSessionProperty, disconnect, getAttribute, getSessionProperty, isConnected, removeAttributesForEntity, setAttribute, setSessionProperty |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |