KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > triactive > jdo > Transaction


1 /*
2  * Copyright 2002 (C) TJDO.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the TJDO License version 1.0.
6  * See the terms of the TJDO License in the documentation provided with this software.
7  *
8  * $Id: Transaction.java,v 1.2 2002/10/17 21:00:52 pierreg0 Exp $
9  */

10
11 package com.triactive.jdo;
12
13 import java.sql.Connection JavaDoc;
14 import java.sql.SQLException JavaDoc;
15
16
17 public interface Transaction extends javax.jdo.Transaction
18 {
19     Connection JavaDoc getConnection(boolean forWriting) throws SQLException JavaDoc;
20
21     void releaseConnection(Connection JavaDoc conn) throws SQLException JavaDoc;
22
23     int getTransactionIsolation();
24
25     void setTransactionIsolation(int isolationLevel);
26
27     boolean useUpdateLockOnFetch();
28 }
29
Popular Tags