Package helma.objectmodel.db

Examples of helma.objectmodel.db.Transactor.commit()


     */
    public void commit() throws Exception {
        Transactor tx = Transactor.getInstance();
        if (tx != null) {
            String tname = tx.getTransactionName();
            tx.commit();
            tx.begin(tname);
        }
    }

    /**
 
View Full Code Here


            p.close();
            istream.close();
            sessions = newSessions;
            app.logEvent("loaded " + newSessions.size() + " sessions from file");
            tx.commit();
        } catch (FileNotFoundException fnf) {
            // suppress error message if session file doesn't exist
            tx.abort();
        } catch (Exception e) {
            app.logError("error loading session data.", e);
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.