Q:

Add entries on application.conf runtime. Is it possible?

I need to add some entries on application.conf on runtime. Is it possible? How?
I can not add those entries because i need to load them from database and i'll load it when application starts.
Thank in advance

A:

Then why you do you put them in application.conf but not in a object or trait? Something like:
object ConfigFromDB {
    val config_val: Option[String] = loadfromdb()
    private def loadfromdb() = ...
}

or
trait ConfigFromDB {
    val config_val: Option[String] = loadfromdb()
    private def loadfromdb() = ...
}

