|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nakedobjects.plugins.hibernate.objectstore.HibernateObjectStore
org.nakedobjects.plugins.hibernate.objectstore.HibernateObjectStoreImmediate
public class HibernateObjectStoreImmediate
Same as HibernateObjectStore except doesn't create commands to save/update objects
at the end of the NOF transaction, instead it does the update there and then.
| Constructor Summary | |
|---|---|
HibernateObjectStoreImmediate()
|
|
| Method Summary | |
|---|---|
void |
endTransaction()
|
void |
execute(java.util.List<PersistenceCommand> commands)
|
protected boolean |
startHibernateTransaction()
Is protected so can be overridden. |
| Methods inherited from class org.nakedobjects.plugins.hibernate.objectstore.HibernateObjectStore |
|---|
abortTransaction, close, commitHibernateTransaction, createCreateObjectCommand, createDestroyObjectCommand, createQuery, createSaveObjectCommand, debugData, debugTitle, executeCommands, getInstances, getInstances, getInstancesByHibernateCriteria, getInstancesByPatternCriteria, getInstancesByTitleCriteria, getObject, getOidForService, hasInstances, isFixturesInstalled, name, open, registerService, reset, resolveField, resolveImmediately, setHydrator, startTransaction |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernateObjectStoreImmediate()
| Method Detail |
|---|
protected boolean startHibernateTransaction()
HibernateObjectStore
startHibernateTransaction in class HibernateObjectStorepublic void endTransaction()
endTransaction in interface ObjectStoreTransactionManagementendTransaction in class HibernateObjectStorepublic void execute(java.util.List<PersistenceCommand> commands)
execute in interface ObjectStorePersistenceexecute in interface ObjectStoreTransactionManagementexecute in class HibernateObjectStore
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||