Hi Bryant,
The appeondconfigdatasource does not support Oracle database, there is no plan to support it currently.
PowerServer supports Dynamic transaction object to data source mapping, you can create multiple data sources to connect different database. Please refer to the following steps:
1. Add data source pointing to different database in AEM;
2. Follow below online help documentation to setup transaction object to data source mapping using dynamic transaction in Appeon Web Application rather than doing it in AEM.
https://www.appeon.com/support/documents/appeon_online_help/2017/server_configuration_guide_for_net/Dynamic_transaction_object_to_connection_cache_mapping.html
You can modify code like SQLCA.DBParm="CacheName='ASADataSource1'" to connect different data sources.
ASADataSource1 is a name of data source.
For example(please note the DBMS of Oracle 12 is O10):
SQLCA.DBMS = "O10"
SQLCA.AutoCommit = False
Choose Case db_name
Case 'PROD'
SQLCA.DBParm="CacheName='appeonsample'"
Case 'DEV'
SQLCA.DBParm="CacheName='appeonsample2'"
End Choose
And you can enable the Dynamic Database Connection option in AEM> Server> Resources> Data Source>[data source name] and specify the user name and password to connect to the database. More details please refer to the Appeon Help > Appeon Server Configuration Guide for .NET> AEM User Guide> Server> Resources> Data Source> Adding a data source section or the online help at:
http://www.appeon.com/support/documents/appeon_online_help/2015/server_configuration_guide_for_net/ch04s03s03.html#Adding_connection_cache
Then you can use the script like below to specify the user/password to connect to the database.
SQLCA.LogId = %your id%
SQLCA.LogPass=%your pass%
Just for your reference, when the Dynamic Database Connection feature is turned on the LogID and LogPass of the Transaction object will be used to connect to the database; when it is turned off then the user name and password specified in the data source will be used to connect to the database.
Regards,
ZhaoKai
the method I'm talking of is in the Appeon Work Around pbl:
https://www.appeon.com/support/documents/appeon_online_help/2017/workarounds_and_api_guide/ch01s03s10.html
We figure the db connect out, via Appeon documentation:
https://www.appeon.com/support/documents/appeon_online_help/2.0/server_configuration_guide_for_j2ee/ch03s04s01.html
where the db name is set via the cache name within the SQLCA settings.
I was wondering more on any guidelines on which settings work best for Oracle.