How to: |
iWay Trading Partner Manager (iTPM) can be configured to use the H2 Database (H2DB) in-memory database engine. This option eliminates the need of managing an external database. When running in this mode, iTPM directly handles the starting and stopping of the server.
To install and configure H2DB:
http://h2database.com/html/download.html
iWay_Home\lib
where:
Is the directory where iWay Service Manager is installed.
Name: H2-TPMConnectionPool (or something similar, in case you are creating a new provider)
Driver Class: org.h2.Driver
Connection URL: jdbc:h2:~/TPM-H2-DB;MVCC=TRUE;MODE=MySQL
User: iWay
Password: tpm
Note: The script runs only the very first time and will not run any of the proceeding times.
Note: Running the H2 database in this mode means that the database cannot be queried externally. This is an example of RAD using TPM or a solution when the required database is not one of the targeted databases of the client.
iWay Software |