Tuesday, January 29, 2008

Changing Toplink connection

When changing Toplink to talk to another database, the following 3 files need to be touched.

1) model\src\META-INF\TopLinkMap.xml
toplink:login xsi:type="toplink:database-login"

2) model\src\META-INF\sessions.xml
login

3) model\toplink\TopLinkMap\TopLinkMap.mwp
login-infos