Database CUSTOM¶
You can use a relational database of your choice.
To specify the database, configure the following settings in BotSettings
:
botSettings.setDbType(DbType.CUSTOM)
botSettings.setDbUrl("url")
without the database name. Example:botSettings.setDbUrl("jdbc:postgresql://localhost:5432/")
botSettings.setDbUser("user")
botSettings.setDbPassword("password")
botSettings.setDbName("name")
botSettings.setDbConnection(connection)
, whereconnection
is a JDBCConnection
to the database.