Configuring Kasais data source

From Kasai documentation

As most Java frameworks, Kasai connects to it's relational repository using JDBC. To implement driver-independent connection pooling, Kasai uses [Apache Commons DBCP].

All db.kasai... parameters in the configuration file relate to this database connectivity.

The driver, url, user and password parameters define the database location and credentials used to establish a connection. The maxActiveConnections, maxIdleConnections and maxWait parameters relate to the connection pool behavior.

Finally the engine parameter can be used to specify which DBMS your application is using, this is used by the framework to use DBMS-dependent SQL commands to improve performance; in this version MySQL (mysql), SQL Server (sqlserver) and PostgreSQL (pgsql) are supported.

Personal tools
Navigation