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 -

Laravel mail error `Swift_TransportException in StreamBuffer.php line 269: Connection could not be established with host smtp.gmail.com [ #0]` -

c# SetCompatibleTextRenderingDefault must be called before the first -