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