#
#     This file is part of the Squashtest platform.
#     Copyright (C) 2010 - 2014 Henix, henix.fr
#
#     See the NOTICE file distributed with this work for additional
#     information regarding copyright ownership.
#
#     This is free software: you can redistribute it and/or modify
#     it under the terms of the GNU Lesser General Public License as published by
#     the Free Software Foundation, either version 3 of the License, or
#     (at your option) any later version.
#
#     this software is distributed in the hope that it will be useful,
#     but WITHOUT ANY WARRANTY; without even the implied warranty of
#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#     GNU Lesser General Public License for more details.
#
#     You should have received a copy of the GNU Lesser General Public License
#     along with this software.  If not, see <http://www.gnu.org/licenses/>.
#

# DATASOURCE CONFIGURATION
# DEFINES THE DATASOURCE TO BE USED BY HIBERNATE
# 
# Sample driver classnames
# Driver should be added to app bundles to work
# Should be consistent with hibernate dialect in Hibernate conf file
# H2 driver : org.h2.Driver
# MySQL driver : com.mysql.jdbc.Driver
# PostgreSQL driver : org.postgresql.Driver
#
# H2 url : jdbc:h2:../data/squash-tm
# MySQL url : jdbc:mysql://server:3306/database
# PostgreSQL url : jdbc:postgresql://server:5432/database
datasource.db.driverClassName=${db.driver}
datasource.db.url=${db.url}
datasource.db.username=${db.username}
datasource.db.password=${db.password}
datasource.db.validationQuery=select 1
datasource.db.maxActive=10
datasource.db.initialSize=2
