Playframework: How to add new database connections post server startup? -
how add new database connection ebean , pool support after playframework 2.5 web app initialized? playframework starts default db connection , while running need connect few other databases.
i can use ebean.register(ebeanserver server, boolean defaultserver) register new datasource , use ebean.getserver("dbconfigname"). how specify hikaricp pool configuration database? play use hikaricp defaults play.db.prototype.hikaricp?
Comments
Post a Comment