123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- # This is the main configuration file for the application.
- # ~~~~~
- # Secret key
- # ~~~~~
- # The secret key is used to secure cryptographics functions.
- #
- # This must be changed for production, but we recommend not changing it in this file.
- #
- # See http://www.playframework.com/documentation/latest/ApplicationSecret for more details.
- application.secret="`o0VB@vXStsF:ffwM5ZZ_r:GYkm96QM[nRUJLpEbI8hwLUdV;N<:UyUWI;lf/XP`"
- # The application languages
- # ~~~~~
- application.langs="en"
- # Global object class
- # ~~~~~
- # Define the Global object class for this application.
- # Default to Global in the root package.
- # application.global=Global
- # Router
- # ~~~~~
- # Define the Router object to use for this application.
- # This router will be looked up first when the application is starting up,
- # so make sure this is the entry point.
- # Furthermore, it's assumed your route file is named properly.
- # So for an application router like `conf/my.application.Router`,
- # you may need to define a router file `my.application.routes`.
- # Default to Routes in the root package (and `conf/routes`)
- # application.router=my.application.Routes
- # Database configuration
- # ~~~~~
- # You can declare as many datasources as you want.
- # By convention, the default datasource is named `default`
- #
- # db.default.driver=org.h2.Driver
- # db.default.url="jdbc:h2:mem:play"
- # db.default.user=sa
- # db.default.password=""
- #
- # You can expose this datasource via JNDI if needed (Useful for JPA)
- # db.default.jndiName=DefaultDS
- db {
- default {
- jndiName="DefaultDS"
- dataSourceClassName=com.mysql.jdbc.jdbc2.optional.MysqlDataSource
- dataSource {
- user=benchmarkdbuser
- password=benchmarkdbpass
- databaseName=hello_world
- serverName=127.0.0.1
- port=3306
- jdbcCompliantTruncation=false
- elideSetAutoCommits=true
- useLocalSessionState=true
- cachePrepStmts=true
- cacheCallableStmts=true
- cacheServerConfiguration=true
- cacheResultSetMetadata=true
- alwaysSendSetIsolation=false
- prepStmtCacheSize=4096
- prepStmtCacheSqlLimit=2048
- zeroDateTimeBehavior=convertToNull
- traceProtocol=false
- useUnbufferedInput=false
- useReadAheadInput=false
- maintainTimeStats=false
- useServerPrepStmts=true
- }
- partitionCount=4
- # The number of connections to create per partition. Setting this to
- # 5 with 3 partitions means you will have 15 unique connections to the
- # database.
- # This value maps to the maximumPoolSize for HickariCP (db.default.partitionCount * db.default.maxConnectionsPerPartition)
- maxConnectionsPerPartition=64
- # The number of initial connections, per partition.
- #
- # This maps to the minimumIdle connections for HikariCP (db.default.partitionCount * db.default.minConnectionsPerPartition)
- minConnectionsPerPartition=64
- }
- }
- jpa.default=defaultPersistenceUnit
- dbplugin=disabled
- # Evolutions
- # ~~~~~
- # You can disable evolutions if needed
- evolutionplugin=disabled
- # Ebean configuration
- # ~~~~~
- # You can declare as many Ebean servers as you want.
- # By convention, the default server is named `default`
- #
- # ebean.default="models.*"
- # Logger
- # ~~~~~
- # You can also configure logback (http://logback.qos.ch/),
- # by providing an application-logger.xml file in the conf directory.
- # Root logger:
- logger.root=INFO
- # Logger used by the framework:
- logger.play=ERROR
- # Logger provided to your application:
- logger.application=ERROR
|