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

php - How to add and update images or image url in Volusion using Volusion API -

javascript - jQuery UI Splitter/Resizable for unlimited amount of columns -

javascript - IE9 error '$'is not defined -