org.apache.jackrabbit.core.util.db
Class DerbyConnectionHelper
java.lang.Object
org.apache.jackrabbit.core.util.db.ConnectionHelper
org.apache.jackrabbit.core.util.db.DerbyConnectionHelper
public final class DerbyConnectionHelper
- extends ConnectionHelper
Method Summary |
void |
shutDown(String driver)
Shuts the embedded Derby database down. |
Methods inherited from class org.apache.jackrabbit.core.util.db.ConnectionHelper |
closeResources, endBatch, exec, exec, execute, getConnection, inBatchMode, prepareDbIdentifier, replaceCharacter, startBatch, tableExists, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DERBY_EMBEDDED_DRIVER
public static final String DERBY_EMBEDDED_DRIVER
- name of the embedded driver
- See Also:
- Constant Field Values
DerbyConnectionHelper
public DerbyConnectionHelper(DataSource dataSrc,
boolean block)
- Parameters:
dataSrc
- the DataSource
on which this helper actsblock
- whether to block on connection loss until the db is up again
shutDown
public void shutDown(String driver)
throws SQLException
- Shuts the embedded Derby database down.
- Parameters:
driver
- the driver
- Throws:
SQLException
- on failure
Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.