01: // You can redistribute this software and/or modify it under the terms of
02: // the Ozone Library License version 1 published by ozone-db.org.
03: //
04: // The original code and portions created by SMB are
05: // Copyright (C) 1997-@year@ by SMB GmbH. All rights reserved.
06: //
07: // $Id: AbstractTransaction.java,v 1.1 2001/12/18 10:31:30 per_nyfelt Exp $
08:
09: package org.ozoneDB;
10:
11: import org.ozoneDB.core.DbRemote.DbClient;
12:
13: /**
14: * Abstract base class of all external transaction classes. Client doesn't need
15: * to deal with this directly.
16: *
17: * @author <a href="http://www.softwarebuero.de/">SMB</a>
18: * @version $Revision: 1.1 $Date: 2001/12/18 10:31:30 $
19: */
20: public abstract class AbstractTransaction {
21:
22: protected ExternalDatabase database;
23:
24: /**
25: * The actual server connection of this transaction. This is initialized by
26: * the ExternalDatabase when begin() is called.
27: */
28: protected DbClient connection;
29:
30: public AbstractTransaction(ExternalDatabase _database) {
31: database = _database;
32: }
33:
34: }
|