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

com.jpattern.orm.transaction.NullTransaction Maven / Gradle / Ivy

There is a newer version: 3.5.1
Show newest version
package com.jpattern.orm.transaction;

import com.jpattern.orm.exception.OrmException;

/**
 * 
 * @author Francesco Cina
 *
 * 24/giu/2011
 */
public class NullTransaction implements ITransaction {

	/**
	 * 
	 */
	

	@Override
	public void setRollbackOnly() throws OrmException {
	}

	@Override
	public void rollback() throws OrmException {
	}

	@Override
	public void commit() throws OrmException {
	}

	@Override
	public boolean isClosed() {
		return true;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy