public class ImportConfigurationJDBC extends ImportConfiguration
Constructor and Description |
---|
ImportConfigurationJDBC(java.sql.Connection connection,
java.lang.String table)
Creates a new instance of this object.
|
ImportConfigurationJDBC(java.lang.String url,
java.lang.String table)
Creates a new instance of this object.
|
ImportConfigurationJDBC(java.lang.String url,
java.lang.String user,
java.lang.String password,
java.lang.String table)
Creates a new instance of this object.
|
Modifier and Type | Method and Description |
---|---|
void |
addColumn(ImportColumn column)
Adds a single column to import from
This makes sure that only
ImportColumnJDBC can be added,
otherwise an IllegalArgumentException will be thrown. |
void |
close()
Closes any underlying JDBC connection that may have either been created by ARX or passed during construction.
|
getColumns, isOptimizedLoading, setOptimizedLoading
public ImportConfigurationJDBC(java.sql.Connection connection, java.lang.String table)
connection
- #setConnection(Connection)
table
- #setTable(String)
public ImportConfigurationJDBC(java.lang.String url, java.lang.String table) throws java.sql.SQLException
url
- table
- #setTable(String)
java.sql.SQLException
public ImportConfigurationJDBC(java.lang.String url, java.lang.String user, java.lang.String password, java.lang.String table) throws java.sql.SQLException
url
- user
- password
- table
- #setTable(String)
java.sql.SQLException
public void addColumn(ImportColumn column)
ImportColumnJDBC
can be added,
otherwise an IllegalArgumentException
will be thrown.addColumn
in class ImportConfiguration
column
- A single column to import from, ImportColumnJDBC
public void close()