Package xbird.storage.tx

Examples of xbird.storage.tx.Transaction.commit()


    }

    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);
View Full Code Here


    }

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

    public final void putDocument(Transaction tx, String docName, IDocumentTable doc)
            throws DbException {
        try {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.