Hi Miguel;
PS's "Data Source" normally prevails.
If you want the application to control more of the SQLCA conversation then either modify the existing DataSource or create another DataSource and set the "Dynamic Database Connection" option to "ON" using PS's AEM console application. This allows PS to use more your SQLCA values.
Also, the "Extended Options" on the DataSource definition allow you to specify the extra connection parameters you might need. The value should be in this format: "parameter_name=###" where "parameter_name" is the name of the connection parameter, for example, TextSize=64000
Note: Only the following DBParm parameters are supported: CommitOnDisconnect, CacheName, DelimitIdentifier, DateTimeAllowed, DisableBind, NCharBind, and TrimSpaces.
Note2: To support DelimitIdentifier parameter, you must set the "Enclose table and column names in double quotes" option in the PS Toolkit's Profile Configuration.
HTH
Regards ... Chris
I don't believe that you can get the database connection information from one configured in AEM.
see appeondconfigdatasource
that will allow you to create a connection to a database.