@ThreadSafe public abstract class AbstractH2Connector extends AbstractDBConnector
m_aDataSource| Constructor and Description |
|---|
AbstractH2Connector() |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.state.ESuccess |
createBackup(File fDestFile)
Create a backup file.
|
com.helger.commons.state.ESuccess |
dumpDatabase(File aFile) |
com.helger.commons.state.ESuccess |
dumpDatabase(OutputStream aOS)
Dump the database to the passed output stream and closed the passed output
stream.
|
protected String |
getJDBCDriverClassName() |
close, getConnectionUrl, getDataSource, getLock, getPassword, getUserName, isPoolPreparedStatements, isUseDefaultAutoCommit, toString@Nonnull @Nonempty protected final String getJDBCDriverClassName()
getJDBCDriverClassName in class AbstractDBConnector@Nonnull public final com.helger.commons.state.ESuccess dumpDatabase(@Nonnull File aFile)
@Nonnull public final com.helger.commons.state.ESuccess dumpDatabase(@Nonnull @WillClose OutputStream aOS)
aOS - The output stream to dump the DB content to. May not be
null. Automatically closed when done.true upon success, false if an error
occurred.Copyright © 2014–2021 Philip Helger. All rights reserved.