Package com.oltpbenchmark.types

Examples of com.oltpbenchmark.types.DatabaseType


   
    /**
     * testDumpXMLFile
     */
    public void testDumpXMLFile() throws Exception {
        DatabaseType dbType = DatabaseType.POSTGRES;
        StatementDialects dialects = new StatementDialects(dbType, xmlFile);
       
        String dump = dialects.export(dbType, this.benchmark.getProcedures().values());
        assertNotNull(dump);
        assertFalse(dump.isEmpty());
View Full Code Here


   */
  protected final TransactionType doWork(boolean measure, Phase phase) {
      TransactionType next = null;
      TransactionStatus status = TransactionStatus.RETRY;
      Savepoint savepoint = null;
      final DatabaseType dbType = wrkld.getDBType();
      final boolean recordAbortMessages = wrkld.getRecordAbortMessages();
     
      try {
          while (status == TransactionStatus.RETRY && this.testState.getState() != State.DONE) {
              if (next == null)
View Full Code Here

TOP

Related Classes of com.oltpbenchmark.types.DatabaseType

Copyright © 2018 www.massapicom. 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.