IBM DB2 for iSeries (AS/400)
IBM DB2 is a relational database management system for enterprise-wide solutions developed by IBM. A relational database is a database in which all of the data is logically contained in tables. These databases are organized according to the relational model. In a relational database like IBM DB2, referential integrity ensures data integrity by enforcing rules with referential constraints, check constraints, and triggers.
Type Name
db2as400
Connection Properties
Template name: db2as400
Appropriate translator name: db2as400
Properties:
host(default:localhost)port(default:446)dbuser-namepassword(default: empty)driver(default:db2as400)driver-class(default:com.ibm.as400.access.AS400JDBCDriver)jdbc-properties(arbitrary extra properties)new-connection-sqlcheck-valid-connection-sql(default:VALUES 1)min-pool-size(default:2)max-pool-size(default:70)cloudAgent(default:FALSE)
Translator Properties
Translator Properties Shared by All JDBC Connectors
(Properties listed in alphabetical order)
To view the full table, click the expand button in its top right corner
Name | Description | Default value |
|---|---|---|
| Sets a template to convert Examples
SQL
|
|
| Database time zone, used when fetching date, time, or timestamp values | System default time zone |
| Specific database version, used to fine-tune pushdown support | Automatically detected by the server through the data source JDBC driver, if possible |
| Only considered when |
|
| If |
|
| Maximum size of prepared insert batch |
|
| Sets a template to convert Examples
SQL
|
|
| If |
|
| Forces a translator to issue a Example
SQL
|
|
| If If |
|
| If If |
|
| If |
|
| if |
|
| Embeds a / comment / leading comment with session/request id in the source SQL query for informational purposes |
|
The names of the translator properties are case-sensitive.
Data Source Properties
Data Source Properties Shared by All JDBC Connectors
(Properties listed in alphabetical order)
To view the full table, click the expand button in its top right corner
Name | Description | Default |
|---|---|---|
| Replaces |
|
| Database catalogs to use. Can be used if the Only for Microsoft SQL Server and Snowflake:
| Exasol:
SQL
All others: empty |
|
| |
|
Please note that writing into a data source is only possible if this parameter is set. | Empty |
| Turns on metadata cache for a single data source even when the global option is turned off. Together with |
|
| Case-insensitive regular expression that will exclude a matching fully qualified procedure name from import | Empty |
| Comma-separated list of schemas (no | Oracle:
SQL
All others: empty |
| Case-insensitive regular expression that will exclude a matching fully qualified table name from import. Does not speed up metadata loading. Here are some examples: 1. Excluding all tables in the (source) schemas
SQL
2. Excluding all tables except the ones starting with "public.br" and "public.mk" using a negative lookahead:
SQL
3. Excluding "tablename11" from the list ["tablename1", "tablename11", "company", "companies"]:
SQL
| Empty |
| Fetch size assigned to a resultset on loading metadata | No default value |
| If set to |
|
| If set to |
|
| If set to |
|
| If set to Please note that it is currently not possible to import procedures which use the same name for more than one parameter (e.g. same name for |
|
| If set to |
|
| If set to |
|
| If set to |
|
| Procedure(s) to import. If omitted, all procedures will be imported. | Empty |
| If set to |
|
| If set to |
|
| If set to |
|
| If set to |
|
| Schema(s) to import. If omitted or has "" value, all schemas will be imported. | Empty |
| If set to |
|
| Table(s) to import. If omitted, all tables will be imported. | Empty |
| Comma-separated list (without spaces) of table types to import. Available types depend on the DBMS. Usual format: Other typical types are | Empty |
| If set to | |
| If set to Please note that this may lead to objects with duplicate names when importing from multiple schemas, which results in an exception |
|
| If set to |
|
| If set to |
|
The names of the data source properties are case-sensitive.
Escaping wildcards in importer.catalog available since v4.0.8
Default values importer.catalog='EXA_DB' and importer.useCatalogName=FALSE available since v4.4
importer.loadSourceSystemFunctions is available since v4.6
importer.importProcedures set to TRUE by default for CData connector since v4.7
importer.defaultCatalog is available since v4.11
importer.tableNamePattern allows multiple values since v4.11