Package jodd.db

Examples of jodd.db.DbTransactionMode


      case ISOLATION_READ_COMMITTED: isolation = DbTransactionMode.ISOLATION_READ_COMMITTED; break;
      case ISOLATION_READ_UNCOMMITTED: isolation = DbTransactionMode.ISOLATION_READ_UNCOMMITTED; break;
      case ISOLATION_REPEATABLE_READ: isolation = DbTransactionMode.ISOLATION_REPEATABLE_READ; break;
      case ISOLATION_SERIALIZABLE: isolation = DbTransactionMode.ISOLATION_SERIALIZABLE; break;
    }
    DbTransactionMode result = new DbTransactionMode();
    result.setIsolation(isolation);
    result.setReadOnly(txMode.isReadOnly());
    return result;
  }
View Full Code Here

TOP

Related Classes of jodd.db.DbTransactionMode

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.