All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.litongjava.db.activerecord.tx.TxReadCommitted Maven / Gradle / Ivy

There is a newer version: 1.4.7
Show newest version
package com.litongjava.db.activerecord.tx;

/**
 * TxReadCommitted.
 */
public class TxReadCommitted extends Tx {
	
    /**
     * A constant indicating that
     * dirty reads are prevented; non-repeatable reads and phantom
     * reads can occur.  This level only prohibits a transaction
     * from reading a row with uncommitted changes in it.
     */
    private int TRANSACTION_READ_COMMITTED   = 2;
    
    @Override
	protected int getTransactionLevel(com.litongjava.db.activerecord.Config config) {
		return TRANSACTION_READ_COMMITTED;
	}
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy