Class ExportDumpConnector
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.connector.impl.AbstractConnector
-
- de.akquinet.jbosscc.guttenbase.export.ExportDumpConnector
-
- All Implemented Interfaces:
Connector
,AutoCloseable
public class ExportDumpConnector extends AbstractConnector
Connection info for exporting database contents to a file.© 2012-2034 akquinet tech@spree
Hint is used by
ExporterFactoryHint
to determine exporter implementation- Author:
- M. Dahm
-
-
Field Summary
-
Fields inherited from class de.akquinet.jbosscc.guttenbase.connector.impl.AbstractConnector
_connection, _connectionInfo, _connectorId, _connectorRepository, LOG
-
-
Constructor Summary
Constructors Constructor Description ExportDumpConnector(ConnectorRepository connectorRepository, String connectorId, ExportDumpConnectorInfo exportDumpConnectionInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
openConnection()
Open connection or return existing connectionDatabaseMetaData
retrieveDatabaseMetaData()
Table metadata is the same as the metadata of the source connector.-
Methods inherited from class de.akquinet.jbosscc.guttenbase.connector.impl.AbstractConnector
closeConnection
-
-
-
-
Constructor Detail
-
ExportDumpConnector
public ExportDumpConnector(ConnectorRepository connectorRepository, String connectorId, ExportDumpConnectorInfo exportDumpConnectionInfo)
-
-
Method Detail
-
openConnection
public Connection openConnection() throws SQLException
Open connection or return existing connection- Throws:
SQLException
-
retrieveDatabaseMetaData
public DatabaseMetaData retrieveDatabaseMetaData() throws SQLException
Table metadata is the same as the metadata of the source connector. The only difference is that the row count of all tables is reset to 0.Return information about database and tables
- Specified by:
retrieveDatabaseMetaData
in interfaceConnector
- Overrides:
retrieveDatabaseMetaData
in classAbstractConnector
- Throws:
SQLException
-
-