#------------------------------------------------------------------------------- # Copyright (c) 2012, Directors of the Tyndale STEP Project # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # Redistributions of source code must retain the above copyright # notice, this list of conditions and the following disclaimer. # Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in # the documentation and/or other materials provided with the # distribution. # Neither the name of the Tyndale House, Cambridge (www.TyndaleHouse.com) # nor the names of its contributors may be used to endorse or promote # products derived from this software without specific prior written # permission. # # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS # "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT # LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS # FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE # COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, # INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, # BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; # LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT # LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING # IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF # THE POSSIBILITY OF SUCH DAMAGE. #------------------------------------------------------------------------------- ebean.ddl.generate=false ebean.ddl.run=false ebean.debug.sql=true #ebean.debug.lazyload=false ebean.json.jsonValueAdapter=com.tyndalehouse.step.rest.framework.StepJsonValueAdapter # ------------------------------------------------------------- # Transaction Logging # ------------------------------------------------------------- # Use java util logging to log transaction details #ebean.loggingToJavaLogger=true # General logging level: (none, explicit, all) ebean.logging=all # Sharing log files: (none, explicit, all) ebean.logging.logfilesharing=all # location of transaction logs ebean.logging.directory=logs #ebean.logging.directory=${catalina.base}/logs/trans # Specific Log levels (none, summary, binding, sql) ebean.logging.iud=sql ebean.logging.query=sql ebean.logging.sqlquery=sql ebean.logging.txnCommit=none # ------------------------------------------------------------- # DataSources (If using default Ebean DataSourceFactory) # ------------------------------------------------------------- # You can specify many DataSources (one per EbeanServer) and # one of them is defined as the default/primary DataSource # specify the default/primary DataSource #datasource.default=h2 #datasource.h2.username=sa #datasource.h2.password= #datasource.h2.databaseUrl=jdbc:h2:mem:tests;DB_CLOSE_DELAY=-1 #datasource.h2.databaseDriver=org.h2.Driver #datasource.h2.minConnections=1 #datasource.h2.maxConnections=25 #datasource.h2.heartbeatsql=select 1 #datasource.h2.isolationlevel=read_committed #datasource.mysql.username=test #datasource.mysql.password=test #datasource.mysql.databaseUrl=jdbc:mysql://127.0.0.1:3306/test #datasource.mysql.databaseDriver=com.mysql.jdbc.Driver #datasource.mysql.minConnections=1 #datasource.mysql.maxConnections=25 #datasource.mysql.heartbeatsql=select 1 #datasource.mysql.isolationlevel=read_committed #datasource.ora.username=test #datasource.ora.password=test #datasource.ora.databaseUrl=jdbc:oracle:thin:@127.0.0.1:1521:XE #datasource.ora.databaseDriver=oracle.jdbc.driver.OracleDriver #datasource.ora.minConnections=1 #datasource.ora.maxConnections=25 #datasource.ora.heartbeatsql=select count(*) from dual #datasource.ora.isolationlevel=read_committed #datasource.pg.username=test #datasource.pg.password=test #datasource.pg.databaseUrl=jdbc:postgresql://127.0.0.1:5433/test #datasource.pg.databaseDriver=org.postgresql.Driver #datasource.pg.heartbeatsql=select 1