Class ImportDumpConnector
- java.lang.Object
-
- de.akquinet.jbosscc.guttenbase.connector.impl.AbstractConnector
-
- de.akquinet.jbosscc.guttenbase.export.ImportDumpConnector
-
- All Implemented Interfaces:
Connector
,AutoCloseable
public class ImportDumpConnector extends AbstractConnector
Connection info for importing data from a file.© 2012-2034 akquinet tech@spree
Hint is used by
ImporterFactoryHint
to determine importer 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 ImportDumpConnector(ConnectorRepository connectorRepository, String connectorId, ImportDumpConnectionInfo importDumpConnectionInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Connection
openConnection()
Open connection or return existing connectionDatabaseMetaData
retrieveDatabaseMetaData()
Return information about database and tables-
Methods inherited from class de.akquinet.jbosscc.guttenbase.connector.impl.AbstractConnector
closeConnection
-
-
-
-
Constructor Detail
-
ImportDumpConnector
public ImportDumpConnector(ConnectorRepository connectorRepository, String connectorId, ImportDumpConnectionInfo importDumpConnectionInfo)
-
-
Method Detail
-
openConnection
public Connection openConnection() throws SQLException
Open connection or return existing connection- Throws:
SQLException
-
retrieveDatabaseMetaData
public DatabaseMetaData retrieveDatabaseMetaData() throws SQLException
Return information about database and tables- Specified by:
retrieveDatabaseMetaData
in interfaceConnector
- Overrides:
retrieveDatabaseMetaData
in classAbstractConnector
- Throws:
SQLException
-
-