To create a JDBC connection from scratch, expand Metadata in the Repository tree
view, right-click Db Connections and select
Create connection from the contextual menu
to open the database connection setup wizard.
To centralize database connection parameters you have defined in a Job into a JDBC connection, click the icon in the Basic settings view of the relevant database component with its Property Type set to Built-In to open the database connection setup wizard.To modify an existing JDBC connection, right-click the connection item from the Repository tree view, and select Edit connection to open the connection setup wizard.
Fill in the schema generic information, such as the connection Name and Description, and then click Next to
proceed to define the connection details.
For further information, see the section on defining general properties in Setting up a database connection.
Select JDBC from the DB Type
- If the library to be imported isn't available on your machine, either download and install it using the Modules view or download and store it in a local directory.
In the Drivers table, add one row to the table by clicking
the [+] button.
Click the newly added row and click the [...] button to open
the Module dialog box where you can import the external
If you have installed the library using the Modules view:
- Select the Platform option and then select the library from the list.
- Select the Detect the module install status button to validate its installation status. or option, then specify the full name or Maven URI of the library module, and click the
If you have stored the library file in a local directory:
- Select the Artifact repository (local m2/nexus) option.
- Select the Install a new module option, and click the [...] button to browse to library file.
If you need to customize the Maven URI of the library, select the
Custom MVN URI check box, specify the new URI, and
then click the Detect the module install status button
to validate its installation status.
Changing the Maven URI for an external module will affect all the components and metadata connections that use that module within the project.
When working on a remote project, your custom Maven URI settings will be automatically synchronized to the Talend Artifact Repository and will be used when other users working on the same project install the external module.
Click OK to confirm your changes.
The imported library file is listed in the Drivers table.Note: You can replace or delete the imported library, or import new libraries if needed.