1 |
ead0a1ab
|
Cherian Mathew
|
#
|
2 |
034d3d7a
|
Cherian Mathew
|
# NOTE: this is the unitils.properties file for the cdmlib-persistence module
|
3 |
|
|
# a separate unitils.properties exists for cdmlib-io and for cdmlib-services
|
4 |
ead0a1ab
|
Cherian Mathew
|
#
|
5 |
|
|
#
|
6 |
|
|
# the list of all properties is found in
|
7 |
|
|
# http://unitils.org/unitils-default.properties
|
8 |
|
|
#
|
9 |
|
|
|
10 |
|
|
### Unitils Modules ###
|
11 |
|
|
# List of modules that is loaded. Overloading this list is normally not useful, unless you want to add a custom
|
12 |
|
|
# module. Disabling a module can be performed by setting unitils.module.<modulename>.enabled to false.
|
13 |
|
|
# If a module's specific dependencies are not found (e.g. hibernate is not in you classpath), this module is not loaded,
|
14 |
|
|
# even if it is in this list and the enabled property is set to true. It's therefore not strictly necessary to disable
|
15 |
|
|
# any of these modules.
|
16 |
|
|
#DEFAULT: unitils.modules=database,dbunit,hibernate,mock,easymock,inject,spring,jpa
|
17 |
|
|
unitils.module.easymock.enabled=false
|
18 |
|
|
unitils.module.mock.enabled=false
|
19 |
|
|
|
20 |
|
|
|
21 |
|
|
### Database ###
|
22 |
|
|
#
|
23 |
|
|
# Name or path of the user specific properties file. This file should contain the necessary parameters to connect to the
|
24 |
|
|
# developer's own unit test schema. It is recommended to override the name of this file in the project specific properties
|
25 |
|
|
# file, to include the name of the project. The system will try to find this file in the classpath, the user home folder
|
26 |
|
|
# (recommended) or the local filesystem.
|
27 |
|
|
#
|
28 |
034d3d7a
|
Cherian Mathew
|
unitils.configuration.localFileName=unitils-cdmlib-local.properties
|
29 |
ead0a1ab
|
Cherian Mathew
|
|
30 |
|
|
# H2 #
|
31 |
|
|
#
|
32 |
f0f54b27
|
Cherian Mathew
|
database.driverClassName=org.h2.Driver
|
33 |
73baaed9
|
Cherian Mathew
|
#database.url=jdbc:h2:file:./target/test-classes/h2/cdmTest;MVCC=TRUE;IGNORECASE=TRUE;ALIAS_COLUMN_NAME=TRUE;AUTO_SERVER=TRUE;DATABASE_TO_UPPER=false;
|
34 |
|
|
database.url=jdbc:p6spy:h2:file:./target/test-classes/h2/cdmTest;IGNORECASE=TRUE;MVCC=TRUE;ALIAS_COLUMN_NAME=TRUE;AUTO_SERVER=TRUE;DATABASE_TO_UPPER=false;
|
35 |
ead0a1ab
|
Cherian Mathew
|
database.dialect=h2
|
36 |
|
|
database.userName=sa
|
37 |
|
|
database.password=
|
38 |
|
|
database.schemaNames=PUBLIC
|
39 |
|
|
org.dbunit.dataset.datatype.IDataTypeFactory.implClassName.h2=org.dbunit.ext.h2.H2DataTypeFactory
|
40 |
034d3d7a
|
Cherian Mathew
|
org.unitils.core.dbsupport.DbSupport.implClassName.h2=eu.etaxonomy.cdm.database.H2DbSupport
|
41 |
ead0a1ab
|
Cherian Mathew
|
database.storedIndentifierCase.h2=auto
|
42 |
|
|
database.identifierQuoteString.h2=auto
|
43 |
|
|
|
44 |
f540664e
|
Cherian Mathew
|
org.unitils.database.config.DataSourceFactory.implClassName=eu.etaxonomy.cdm.unitils.CdmTestDataSourceFactory
|
45 |
ead0a1ab
|
Cherian Mathew
|
|
46 |
|
|
|
47 |
034d3d7a
|
Cherian Mathew
|
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
|