Linking to Other Databases
Agiloft only supports external tables with single primary key field which must be of exact numeric type, like bigint or integ.In order to link to tables in another database, you must first tell the application server about that database by adding a datasource descriptor file.
See examples of datasource configurations in
EW_HOME/jboss/server/sw/deploy/ew-ds.xml as well as JBoss AS Config DataSources. More detailed information is available in Configuring JDBC DataSources document from JBoss AS documentation.
To prevent the datasource file from being overwritten on update give it a name matching one of the following patterns:
ew_datasource_my_external_db_ds.xml or my_db_ewcustom-ds.xml.
Jboss AS picks up the changes to this file immediately, so it is advisable to stop the server process before making changes to this file and start again only after changes are complete.