Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ......
- play.modules {
- # By default, Play will load any class called Module that is defined
- # in the root package (the "app" directory), or you can define them
- # explicitly below.
- # If there are any built-in modules that you want to disable, you can list them here.
- #enabled += my.application.Module
- # If there are any built-in modules that you want to disable, you can list them here.
- #disabled += ""
- enabled += "play.api.db.DBModule"
- }
- ......
- play.db {
- # The combination of these two settings results in "db.default" as the
- # default JDBC pool:
- config = "db"
- default = "default"
- # Play uses HikariCP as the default connection pool. You can override
- # settings by changing the prototype:
- prototype {
- # Sets a fixed JDBC connection pool size of 50
- hikaricp.minimumIdle = 50
- hikaricp.maximumPoolSize = 50
- }
- }
- ......
- db {
- default.driver = com.mysql.jdbc.Driver
- default.url = "jdbc:mysql://localhost/bookstore"
- default.username = root
- default.password = "root"
- }
Add Comment
Please, Sign In to add comment