浏览代码

Add the new DEV and PRODUCTION mode settings

Martin Tzvetanov Grigorov 11 年之前
父节点
当前提交
d7eb0fc331
共有 2 个文件被更改,包括 6 次插入0 次删除
  1. 3 0
      wicket/src/main/resources/dev.properties
  2. 3 0
      wicket/src/main/resources/prod.properties

+ 3 - 0
wicket/src/main/resources/dev.properties

@@ -0,0 +1,3 @@
+mysql.uri = jdbc:mysql://localhost:3306/hello_world?jdbcCompliantTruncation=false&elideSetAutoCommits=true&useLocalSessionState=true&cachePrepStmts=true&cacheCallableStmts=true&alwaysSendSetIsolation=false&prepStmtCacheSize=4096&cacheServerConfiguration=true&prepStmtCacheSqlLimit=2048&zeroDateTimeBehavior=convertToNull&traceProtocol=false&useUnbufferedInput=false&useReadAheadInput=false&maintainTimeStats=false&useServerPrepStmts&cacheRSMetadata=true
+mysql.user = benchmarkdbuser
+mysql.password = benchmarkdbpass

+ 3 - 0
wicket/src/main/resources/prod.properties

@@ -0,0 +1,3 @@
+mysql.uri = java:comp/env/jdbc/hello_world
+mysql.user = benchmarkdbuser
+mysql.password = benchmarkdbpass