Transaction.java :  » Database-ORM » TJDO » com » triactive » jdo » Java Open Source

Java Open Source » Database ORM » TJDO 
TJDO » com » triactive » jdo » Transaction.java
/*
 * Copyright 2002 (C) TJDO.
 * All rights reserved.
 *
 * This software is distributed under the terms of the TJDO License version 1.0.
 * See the terms of the TJDO License in the documentation provided with this software.
 *
 * $Id: Transaction.java,v 1.2 2002/10/17 21:00:52 pierreg0 Exp $
 */

package com.triactive.jdo;

import java.sql.Connection;
import java.sql.SQLException;


public interface Transaction extends javax.jdo.Transaction
{
    Connection getConnection(boolean forWriting) throws SQLException;

    void releaseConnection(Connection conn) throws SQLException;

    int getTransactionIsolation();

    void setTransactionIsolation(int isolationLevel);

    boolean useUpdateLockOnFetch();
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.