unitils.properties 1.91 KB
database.driverClassName=${ds.driver.class}
database.url=${ds.connection.url}
database.userName=${ds.user.name}
database.password=${ds.password}
database.schemaNames=${ds.schema}
database.dialect=${unitils.dialect}
DatabaseModule.Transactional.value.default=disabled
# If set to true, the DBMaintainer will be used to update the unit test database schema. This is done once for each
# test run, when creating the DataSource that provides access to the unit test database.
updateDataBaseSchema.enabled=true
# Comma separated list of directories and files in which the database update scripts are located. Directories in this
# list are recursively searched for files.
dbMaintainer.script.locations=${unitils.dbscripts.output}
dbMaintainer.generateDataSetStructure.enabled=${unitils.generateDataSetStructure}
# DbUnit database XSD directory
dataSetStructureGenerator.xsd.dirName=${unitils.dbschema}
# Set this property to true if the dbmaintain_scripts table should be created automatically if not found.
# If false, an exception is thrown when the table is not found, indicating how to create it manually.
# This property is false by default to be sure that a database is cleared by accident. If an executed
# scripts table is available, we assume it to be a database managed by dbmaintain.
dbMaintainer.autoCreateExecutedScriptsTable=true
# If set to true, an implementation of org.unitils.dbmaintainer.sequences.SequenceUpdater will be used to update the
# sequences to a suffiently high value, so that test data can be inserted without problems.
# The SequenceUpdater is configured using the properties specified below. The property with key 'database.dialect'
# specifies which implementation is used.
dbMaintainer.updateSequences.enabled=true
# Lowest acceptable value of a sequence in a unit test database. The SequenceUpdater will make sure all sequences
# have this value or higher before proceeding
sequenceUpdater.sequencevalue.lowestacceptable=1000