|
||||||||||
| 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
public class Saver
Transactional object saver.
| Constructor Summary | |
|---|---|
Saver(SpyConfig conf)
Get an instance of Saver with the given database config. |
|
Saver(SpyConfig conf,
SaveContext ctx)
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 conf)
public Saver(SpyConfig conf,
SaveContext ctx)
| 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 | |||||||||