Please enable JavaScript to view this site.

InterFormNG2 Manual

It is possible to have the InterFormNG2 settings stored in a database.

 

In order to switch to settings in a database, the database have to be added to the application-default.properties file.

This file is covered here for the IBM i platform and here for Windows.

 

Example: Adding a MySQL database as the location for the settings needs the following lines added:

 

ng2db.settingsDatasource.url=jdbc:mysql://localhost:3306/settings{TENANTID}?serverTimezone=UTC&createDatabaseIfNotExist=true

ng2db.settingsDatasource.username=root

ng2db.settingsDatasource.password=root

ng2db.settingsDatasource.driver=com.mysql.jdbc.Driver

ng2db.settingsDatasource.hibernateDialect=org.hibernate.dialect.MySQL5InnoDBDialect

 

and settings needs to be told that a database is now being used, meaning the settings= line needs to be changed to:

 

settings=database

 

Afterwards the InterFormNG2 service should to be restarted.