0

Currently anorm uses the parameters specified in application.config file of Play to access to a database (user, password, url).

In my case, I need to specify the connection url during the runtime.

Is there a pretty trick to do this? How can I do this?

thanks in advance

4

1 回答 1

1

您是否尝试实现异常驱动程序的委托?请参阅此问题以供参考:Encrypting db password in application.conf for Play 2.0/anorm

于 2013-07-22T16:33:28.330 回答