com.jpattern.orm.transaction.NullTransaction Maven / Gradle / Ivy
package com.jpattern.orm.transaction;
import com.jpattern.orm.exception.OrmException;
/**
*
* @author Francesco Cina
*
* 24/giu/2011
*/
public class NullTransaction implements Transaction {
/**
*
*/
@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