public class DerbyDataStore extends DbDataStore
conHelper, copyWhenReading, createTableSQL, databaseType, dataSourceName, DEFAULT_MIN_RECORD_LENGTH, deleteOlderSQL, deleteSQL, DIGEST, driver, insertTempSQL, inUse, 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 and Description |
---|
DerbyDataStore() |
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the data store
|
protected ConnectionHelper |
createConnectionHelper(DataSource dataSrc)
This method is called from the
DbDataStore.init(String) method of this class and returns a
ConnectionHelper instance which is assigned to the conHelper field. |
addRecord, clearInUse, convert, createCheckSchemaOperation, deleteAllOlderThan, deleteRecord, getAllIdentifiers, getCopyWhenReading, getDatabaseType, getDataSourceName, getDigest, getDriver, getMaxConnections, getMinRecordLength, getPassword, getProperty, getRecordIfStored, getSchemaObjectPrefix, getTablePrefix, getUrl, getUser, init, initDatabaseType, isSchemaCheckEnabled, setConnectionFactory, setCopyWhenReading, setDatabaseType, setDataSourceName, setDriver, setMaxConnections, setMinRecordLength, setPassword, setSchemaCheckEnabled, setSchemaObjectPrefix, setTablePrefix, setUrl, setUser, updateModifiedDateOnAccess, usesIdentifier
encodeHexString, getOrCreateReferenceKey, getRecord, getRecordFromReference, getReferenceFromIdentifier
protected ConnectionHelper createConnectionHelper(DataSource dataSrc) throws Exception
DbDataStore.init(String)
method of this class and returns a
ConnectionHelper
instance which is assigned to the conHelper
field. Subclasses may
override it to return a specialized connection helper.createConnectionHelper
in class DbDataStore
dataSrc
- the DataSource
of this persistence managerConnectionHelper
Exception
- on errorpublic void close() throws DataStoreException
close
in interface DataStore
close
in class DbDataStore
DataStoreException
- if a problem occurredCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.