Package org.jtester.module.database.environment

Examples of org.jtester.module.database.environment.DBEnvironment.commit()


    return true;
  }

  public boolean commit() throws SQLException {
    DBEnvironment environment = workingEnvironment();
    environment.commit();
    environment.getConnection().setAutoCommit(false);
    return true;
  }

  public Fixture queryStats() {
View Full Code Here


  public static void commit() {
    try {
      DBEnvironment environment = DBEnvironmentFactory.getCurrentDBEnvironment();
      environment.connectIfNeeded();
      environment.commit();
    } catch (Exception e) {
      throw ExceptionWrapper.getUndeclaredThrowableExceptionCaused(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.