}
public void putDocument(String docName, IDocumentTable doc) throws DbException {
Transaction tx = new Transaction();
putDocument(tx, docName, doc);
tx.commit();
}
public void putDocument(Transaction tx, String docName, IDocumentTable doc) throws DbException {
try {
doc.flush(this, docName);