According this issue, i am going to override DBModule or DBApiProvider. How can i register my provider or module in play framework and then disable the original one?
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/fc0641ea-f4bb-4b79-bbcd-fedb389ef2e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can add module names to play.modules.enabled to add your own modules, and add to play.modules.disabled to remove default modules:play.modules {disabled += "play.api.db.DBModule"enabled += "com.example.MyDBModule"}You can also override default bindings and various other settings by using a custom GuiceApplicationLoader: https://www.playframework.com/documentation/2.5.x/ScalaDependencyInjection#Advanced:-Extending-the-GuiceApplicationLoader
On Sun, Nov 13, 2016 at 2:02 AM, Saeed Zarinfam <zarin...@gmail.com> wrote:
According this issue, i am going to override DBModule or DBApiProvider. How can i register my provider or module in play framework and then disable the original one?
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/fc0641ea-f4bb-4b79-bbcd-fedb389ef2e8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/e9893076-da0a-4d51-94ec-c6fd91967ded%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
On Tue, Jan 17, 2017 at 12:30 PM, Florian Pradines <florian....@gmail.com> wrote:
Hi,
I have the same problem, could you share your code please?
Thanks,
On Sunday, November 13, 2016 at 11:02:32 AM UTC+1, Saeed Zarinfam wrote:According this issue, i am going to override DBModule or DBApiProvider. How can i register my provider or module in play framework and then disable the original one?
--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framewor...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/e9893076-da0a-4d51-94ec-c6fd91967ded%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.