public final class DerbyConnectionHelper extends ConnectionHelper
ConnectionHelper.RetryManager<T>| Modifier and Type | Field and Description | 
|---|---|
| static String | DERBY_EMBEDDED_DRIVERname of the embedded driver | 
dataSource| Constructor and Description | 
|---|
| DerbyConnectionHelper(DataSource dataSrc,
                     boolean block) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | shutDown(String driver)Shuts the embedded Derby database down. | 
closeResources, endBatch, exec, exec, execute, getConnection, inBatchMode, prepareDbIdentifier, query, replaceCharacter, startBatch, tableExists, updatepublic static final String DERBY_EMBEDDED_DRIVER
public DerbyConnectionHelper(DataSource dataSrc, boolean block)
dataSrc - the DataSource on which this helper actsblock - whether to block on connection loss until the db is up againpublic void shutDown(String driver) throws SQLException
driver - the driverSQLException - on failureCopyright © 2004–2022 The Apache Software Foundation. All rights reserved.