Table of Contents

Search

  1. Preface
  2. Command Line Programs and Utilities
  3. Installing and Configuring Command Line Utilities
  4. Using the Command Line Programs
  5. Environment Variables for Command Line Programs
  6. Using infacmd
  7. infacmd as Command Reference
  8. infacmd aud Command Reference
  9. infacmd autotune Command Reference
  10. Infacmd bg Command Reference
  11. infacmd ccps Command Reference
  12. infacmd cluster Command Reference
  13. infacmd cms Command Reference
  14. infacmd dis Command Reference
  15. Infacmd dis Queries
  16. infacmd dp Command Reference
  17. infacmd idp Command Reference
  18. infacmd edp Command Reference
  19. Infacmd es Command Reference
  20. infacmd ics Command Reference
  21. infacmd ipc Command Reference
  22. infacmd isp Command Reference
  23. infacmd ldm Command Reference
  24. infacmd mas Command Reference
  25. infacmd mi Command Reference
  26. infacmd mrs Command Reference
  27. infacmd ms Command Reference
  28. infacmd oie Command Reference
  29. infacmd ps Command Reference
  30. infacmd pwx Command Reference
  31. infacmd roh Command Reference
  32. infacmd rms Command Reference
  33. infacmd rtm Command Reference
  34. infacmd sch Command Reference
  35. infacmd search Command Reference
  36. infacmd sql Command Reference
  37. infacmd tdm Command Reference
  38. infacmd tools Command Reference
  39. infacmd wfs Command Reference
  40. infacmd ws Command Reference
  41. infacmd xrf Command Reference
  42. infacmd Control Files
  43. infasetup Command Reference
  44. pmcmd Command Reference
  45. pmrep Command Reference
  46. Working with filemanager
  47. Working with pmrep Files

JDBC V2 Connection Options

JDBC V2 Connection Options

Use connection options to define a JDBC V2 connection.
Enter connection options in the following format:
... -o option_name=value option_name=value ...
For example,
./infacmd.sh createConnection -dn Domain_irl63ppd06 -un Administrator -pd SAM123 -cn PostgreSQL -cid PostgreSQL -ct JDBC_V2 -cun adaptersX1 -cpd adaptersX1 -o "connectionstring=' jdbc:postgresql://aurorapostgres-appsdk.c5wj9sntucrg.ap-south-1.rds.amazonaws.com:5432/ JDBCV2' jdbcdriverclassname='org.postgresql.Driver' schemaname='public' subtype='PostgreSQL' supportmixedcaseidentifier='true' quoteChar='(quotes)'"
To enter multiple options, separate options with spaces. To enter a value that contains a space or other non-alphanumeric character, enclose the value in quotation marks.
The following table describes JDBC V2 connection options for infacmd isp CreateConnection and UpdateConnection commands:
Option
Description
username
The database user name.
User name with permissions to either access the Azure SQL Database, PostgreSQL, or relational database.
password
The password for the database user name.
schemaname
The schema name to connect in the database.
jdbcdriverclassname
Name of the JDBC driver class.
The following list provides the driver class name that you can enter for the applicable database type:
  • JDBC driver class name for Azure SQL Database:
    com.microsoft.sqlserver.jdbc.SQLServerDriver
  • JDBC driver class name for Aurora PostgreSQL:
    org.postgresql.Driver
For more information about which driver class to use with specific databases, see the vendor documentation.
connectionstring
Connection string to connect to the database.
Use the following connection string:
'jdbc:<subprotocol>:<subname>'
Enclose the connection string in double quotes.
The following list provides sample connection strings that you can enter for the applicable database type:
  • Connection string for Azure SQL Database JDBC driver:
    'jdbc:informatica:oracle://<host>:<port>;SID=<'value'>'
  • Connection string for Aurora PostgreSQL JDBC driver:
    'jdbc:postgresql://<host>:<port>[/dbname]'
For more information about the connection string to use with specific drivers, see the vendor documentation.
subtype
The database type to which you want to connect.
You can select from the following database types to connect:
  • Azure SQL Database
    . Connects to Azure SQL Database.
  • PostgreSQL
    . Connects to Aurora PostgreSQL database.
  • Others
    . Connects to any database that supports the Type 4 JDBC driver.
supportmixedcaseidentifier
Enable if the database uses case-sensitive identifiers. When enabled, the Data Integration Service encloses all identifiers within the character selected for the
SQL Identifier Character
property.
For example, PostgreSQL database supports mixed-cased characters. You must enable this property to connect to the PostgreSQL database.
When the
SQL Identifier Character
property is set to none, the
Support Mixed-case Identifiers
property is disabled.
quoteChar
Type of character that the database uses to enclose delimited identifiers in SQL queries. The available characters depend on the database type.
Select (None) if the database uses regular identifiers. When the Data Integration Service generates SQL queries, the service does not place delimited characters around any identifiers.
Select a character if the database uses delimited identifiers. When the Data Integration Service generates SQL queries, the service encloses delimited identifiers within this character.

0 COMMENTS

We’d like to hear from you!