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

Popular posts from this blog

sql - can we replace full join with union of left and right join? why not? -

iOS: Performance of reloading UIImage(name:...) -

javascript - Parallax scrolling and fixed footer code causing width issues -