About this task
The testConnection operation takes a data source
configuration
ID as an argument.
Note: This invocation cannot
accept user IDs and passwords that must be defined in the database
itself. This invocation can be used only for databases that do not
require a user ID and password to make a connection (such as DB2® on
a Windows machine), or for data sources that
have a component-managed or container-managed authentication alias
set on the data source object.