Class DerbyDataStore

  extended by
      extended by
All Implemented Interfaces:

public class DerbyDataStore
extends DbDataStore

The Derby data store closes the database when the data store is closed (embedded databases only).

Field Summary
Fields inherited from class
connectionPool, copyWhenReading, createTableSQL, databaseType, DEFAULT_MAX_CONNECTIONS, DEFAULT_MIN_RECORD_LENGTH, deleteOlderSQL, deleteSQL, DIGEST, driver, insertTempSQL, inUse, maxConnections, minModifiedDate, minRecordLength, password, schemaObjectPrefix, selectAllSQL, selectDataSQL, selectMetaSQL, STORE_SIZE_MAX, STORE_SIZE_MINUS_ONE, STORE_TEMP_FILE, storeStream, tablePrefix, tableSQL, TEMP_PREFIX, temporaryInUse, updateDataSQL, updateLastModifiedSQL, updateSQL, url, user
Constructor Summary
Method Summary
 void close()
          Close the data store
Methods inherited from class
addRecord, clearInUse, convert, createNewConnection, deleteAllOlderThan, getAllIdentifiers, getConnection, getCopyWhenReading, getDatabaseType, getDigest, getDriver, getMaxConnections, getMinRecordLength, getPassword, getProperty, getRecord, getRecordIfStored, getSchemaObjectPrefix, getTablePrefix, getUrl, getUser, init, initDatabaseType, isSchemaCheckEnabled, putBack, setCopyWhenReading, setDatabaseType, setDriver, setMaxConnections, setMinRecordLength, setPassword, setSchemaCheckEnabled, setSchemaObjectPrefix, setTablePrefix, setUrl, setUser, updateModifiedDateOnAccess, usesIdentifier
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public DerbyDataStore()
Method Detail


public void close()
           throws DataStoreException
Description copied from class: DbDataStore
Close the data store

Specified by:
close in interface DataStore
close in class DbDataStore
DataStoreException - if a problem occured

Copyright © 2004-2009 The Apache Software Foundation. All Rights Reserved.