01: /*
02: * Copyright 2002 (C) TJDO.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the TJDO License version 1.0.
06: * See the terms of the TJDO License in the documentation provided with this software.
07: *
08: * $Id: Transaction.java,v 1.2 2002/10/17 21:00:52 pierreg0 Exp $
09: */
10:
11: package com.triactive.jdo;
12:
13: import java.sql.Connection;
14: import java.sql.SQLException;
15:
16: public interface Transaction extends javax.jdo.Transaction {
17: Connection getConnection(boolean forWriting) throws SQLException;
18:
19: void releaseConnection(Connection conn) throws SQLException;
20:
21: int getTransactionIsolation();
22:
23: void setTransactionIsolation(int isolationLevel);
24:
25: boolean useUpdateLockOnFetch();
26: }
|