|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnet.spy.SpyObject
net.spy.db.Saver
Transactional object saver.
| Constructor Summary | |
Saver(SpyConfig config)
Get an instance of Saver with the given database config. |
|
Saver(SpyConfig config,
SaveContext context)
Get an instance of saver with the given database config and context. |
|
| Method Summary | |
void |
save(Savable o)
Save this Savabale and everything it contains at the default isolation level. |
void |
save(Savable o,
int level)
Save this Savabale and everything it contains at the default isolation level. |
| Methods inherited from class net.spy.SpyObject |
getLogger |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Saver(SpyConfig config)
public Saver(SpyConfig config,
SaveContext context)
| Method Detail |
public void save(Savable o)
throws SaveException
SaveException
public void save(Savable o,
int level)
throws SaveException
o - the savablelevel - the isolation level (as defined in java.sql.Connection)
SaveException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||