public class HibernateContextManager extends Object implements TidePersistenceManager
| Constructor and Description |
|---|
HibernateContextManager() |
HibernateContextManager(Session session) |
| Modifier and Type | Method and Description |
|---|---|
Object |
attachEntity(Object entity,
String[] propertyNames)
Attach the passed in entity with the HibernateSession.
|
protected void |
disconnectSession()
disconnects from the Hibernate Session.
|
Object |
fetchEntity(Object entity,
String[] fetch)
attaches the entity to the HibernateSession.
|
public HibernateContextManager()
public HibernateContextManager(Session session)
public Object attachEntity(Object entity, String[] propertyNames)
attachEntity in interface TidePersistenceManagerentity - propertyNames - array of property names to fetchpublic Object fetchEntity(Object entity, String[] fetch)
protected void disconnectSession()