org.jbpm.env.session
Interface DbSession

All Known Subinterfaces:
PvmDbSession
All Known Implementing Classes:
HibernateDbSession, HibernatePvmDbSession

public interface DbSession

Author:
Tom Baeyens

Method Summary
 void delete(java.lang.Object entity)
           
 void flush()
           
 void forceVersionUpdate(java.lang.Object entity)
           
<T> T
get(java.lang.Class<T> entityClass, java.lang.Object primaryKey)
           
 void lockPessimistically(java.lang.Object entity)
           
 void save(java.lang.Object entity)
           
 

Method Detail

save

void save(java.lang.Object entity)

get

<T> T get(java.lang.Class<T> entityClass,
          java.lang.Object primaryKey)

delete

void delete(java.lang.Object entity)

flush

void flush()

forceVersionUpdate

void forceVersionUpdate(java.lang.Object entity)

lockPessimistically

void lockPessimistically(java.lang.Object entity)