Source

Lein-LB / src / sample-clj-dbcp.properties

Full commit
# This is a sample Clj-DBCP properties file for creating data sources. Name
# this file as 'clj-dbcp.properties' and put it in classpath-root OR in the
# current directory (i.e. project folder if that is where you run cmds from).

# Notice that this file is divided in sections, where each section represents
# a profile (e.g. Dev, QA, Staging, Production etc.) To specify the default
# profile mention it using the `default=<name>` property. Each profile property
# should have `<profile>.` as a prefix for all property names in the profile.

default=dev2

mydev.odbc-dsn=cubrid-bituf
#mydev.username=
#mydev.password=

dev2.db-type=h2-memory

dev3.db-type=h2-filesystem
# the parameter below is optional (`default` is assumed if nothing specified)
dev3.db-path=/home/user/eddie/shopping

# MySQL profile
# hostport can also be in the form "localhost:3306"
mysql.db-type=mysql
mysql.hostport=localhost
mysql.database=employee
mysql.username=root
mysql.password=s3cr3t

# Supported database types (as in the example above) are:
#
# -- in-memory (you only need to pass the `db-type` parameter)
# derby-memory, h2-memory, hsql-memory, sqlite-memory
#
# -- filesystem (you can optionally pass DB name/path as per database)
# derby-filesystem, h2-filesystem, hsql-filesystem, sqlite-filesystem
#
# -- network
# derby-network, h2-network, hsql-network
# cubrid, firebird, mysql, pgsql, oracle, db2, sqlserver, sybase

# Raw JDBC profile
jdbc.classname=org.h2.Driver
jdbc.jdbc-url=jdbc:h2:mem:sample
jdbc.username=sa
jdbc.password=
# the params below are optional (and available in all profile types)
jdbc.max-active=10
jdbc.min-max-idle=2,4
jdbc.validation-query=SELECT 1