Example usage for org.hibernate Transaction interface-usage

List of usage examples for org.hibernate Transaction interface-usage

Introduction

In this page you can find the example usage for org.hibernate Transaction interface-usage.

Usage

From source file com.cubeia.firebase.service.persistence.jpa.SystemJTATransaction.java

public class SystemJTATransaction implements Transaction {

    private final Logger log = Logger.getLogger(getClass());

    private final JDBCContext jdbcContext;
    private final TransactionFactory.Context transactionContext;

From source file mockit.emulation.hibernate3.TransactionEmul.java

final class TransactionEmul implements Transaction {
    public void begin() {
    }

    public void commit() {
    }

From source file net.commerce.zocalo.hibernate.NoDBTransaction.java

/** a do-nothing implementation of Hibernate's transaction that can be used when
 hibernate is disabled.
 */
public class NoDBTransaction implements Transaction {
    public static Transaction make() {
        return new NoDBTransaction();

From source file org.apache.ode.daohib.JotmTransaction.java

/**
 * {@link Transaction} implementation based on transaction management through
 * a JTA {@link UserTransaction}.  Similar to {@link CMTTransaction}, except
 * here we are actually managing the transactions through the Hibernate
 * transaction mechanism.
 *

From source file org.grayleaves.utility.MockHibernateTransaction.java

public class MockHibernateTransaction implements Transaction {

    @Override
    public void commit() throws HibernateException {
    }

From source file org.mentawai.transaction.HibernateTransaction.java

/**
 * @author Rubem Azenha
 */
public class HibernateTransaction implements Transaction {

    private Session session = null;

From source file org.mifos.framework.hibernate.helper.AuditTransactionForTests.java

@SuppressWarnings("PMD")
public class AuditTransactionForTests implements Transaction {
    @Override
    public void begin() throws HibernateException {
    }

From source file org.xerela.zap.hibernate.internal.ZTransaction.java

/**
 * ZTransaction
 */
public class ZTransaction implements Transaction {
    private static final String COULD_NOT_DETERMINE_TRANSACTION_STATUS = "Could not determine transaction status"; //$NON-NLS-1$

From source file rickbw.incubator.transaction.CloseableTransaction.java

/**
 * A wrapper for a Hibernate {@link Transaction} that supports the Java 7
 * try-with-resources structure, for safer operation.
 *
 * For example:
 * <pre>