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

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

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

/**
 * TxReadUncommitted.
 */
public class TxReadUncommitted extends Tx {
	
    /**
     * A constant indicating that
     * dirty reads, non-repeatable reads and phantom reads can occur.
     * This level allows a row changed by one transaction to be read
     * by another transaction before any changes in that row have been
     * committed (a "dirty read").  If any of the changes are rolled back, 
     * the second transaction will have retrieved an invalid row.
     */
	private int TRANSACTION_READ_UNCOMMITTED = 1;
    
	@Override
	protected int getTransactionLevel(com.litongjava.db.activerecord.Config config) {
		return TRANSACTION_READ_UNCOMMITTED;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy