HHH-7345 add derby to the matrix testing suite

This commit is contained in:
Strong Liu 2012-05-23 21:31:35 +08:00
parent d92e91bb4d
commit 9b501805c6
4 changed files with 88 additions and 39 deletions

1
.gitignore vendored
View File

@ -9,6 +9,7 @@
*/target */target
/build /build
*/build */build
testdb
# IntelliJ specific files/directories # IntelliJ specific files/directories
out out

View File

@ -0,0 +1,25 @@
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* Copyright (c) 2011, Red Hat Inc. or third-party contributors as
* indicated by the @author tags or express copyright attribution
* statements applied by the authors. All third-party contributions are
* distributed under license by Red Hat Inc.
*
* This copyrighted material is made available to anyone wishing to use, modify,
* copy, or redistribute it subject to the terms and conditions of the GNU
* Lesser General Public License, as published by the Free Software Foundation.
*
* This program 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 distribution; if not, write to:
* Free Software Foundation, Inc.
* 51 Franklin Street, Fifth Floor
* Boston, MA 02110-1301 USA
*/
jdbcDependency "org.apache.derby:derby:10.8.2.2"

View File

@ -0,0 +1,40 @@
#
# Hibernate, Relational Persistence for Idiomatic Java
#
# Copyright (c) 2011, Red Hat Inc. or third-party contributors as
# indicated by the @author tags or express copyright attribution
# statements applied by the authors. All third-party contributions are
# distributed under license by Red Hat Inc.
#
# This copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the GNU
# Lesser General Public License, as published by the Free Software Foundation.
#
# This program 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 distribution; if not, write to:
# Free Software Foundation, Inc.
# 51 Franklin Street, Fifth Floor
# Boston, MA 02110-1301 USA
#
hibernate.dialect org.hibernate.dialect.DerbyTenSevenDialect
hibernate.connection.driver_class org.apache.derby.jdbc.EmbeddedDriver
hibernate.connection.url jdbc:derby:testdb;create=true
hibernate.connection.username sa
hibernate.connection.pool_size 5
hibernate.show_sql true
hibernate.format_sql true
hibernate.max_fetch_depth 5
hibernate.cache.region_prefix hibernate.test
hibernate.cache.region.factory_class org.hibernate.testing.cache.CachingRegionFactory

View File

@ -1,39 +1,22 @@
# #Generated by DBAllocator
# Hibernate, Relational Persistence for Idiomatic Java #Wed May 23 08:58:04 EDT 2012
# db.password=dballo04
# Copyright (c) 2010, Red Hat Inc. or third-party contributors as hibernate.connection.password=dballo04
# indicated by the @author tags or express copyright attribution db.username=dballo04
# statements applied by the authors. All third-party contributions are dballoc.db_type=standard
# distributed under license by Red Hat Inc. db.jdbc_url=jdbc\:postgresql\://db02.mw.lab.eng.bos.redhat.com\:5432/dballo04
# db.name=dballo04
# This copyrighted material is made available to anyone wishing to use, modify, db.hostname=db02.mw.lab.eng.bos.redhat.com
# copy, or redistribute it subject to the terms and conditions of the GNU hibernate.connection.username=dballo04
# Lesser General Public License, as published by the Free Software Foundation. db.jdbc_class=org.postgresql.Driver
# db.maxpoolsize=50
# This program is distributed in the hope that it will be useful, db.minpoolsize=15
# but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY hibernate.connection.driver_class=org.postgresql.Driver
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License uuid=350f2e3a-df00-4b56-91ca-fdd8b5316f1e
# for more details. db.primary_label=postgresql91
# db.port=5432
# You should have received a copy of the GNU Lesser General Public License hibernate.dialect=org.hibernate.dialect.PostgreSQL82Dialect
# along with this distribution; if not, write to: hibernate.connection.url=jdbc\:postgresql\://db02.mw.lab.eng.bos.redhat.com\:5432/dballo04
# Free Software Foundation, Inc. hibernate.connection.schema=dballo04
# 51 Franklin Street, Fifth Floor hibernate.show_sql=true
# Boston, MA 02110-1301 USA hibernate.format_sql=true
#
hibernate.dialect org.hibernate.dialect.H2Dialect
hibernate.connection.driver_class org.h2.Driver
hibernate.connection.url jdbc:h2:mem:db1;DB_CLOSE_DELAY=-1;MVCC=TRUE
hibernate.connection.username sa
hibernate.connection.pool_size 5
hibernate.show_sql false
hibernate.max_fetch_depth 5
hibernate.cache.region_prefix hibernate.test
hibernate.cache.region.factory_class org.hibernate.testing.cache.CachingRegionFactory
# NOTE: hibernate.jdbc.batch_versioned_data should be set to false when testing with Oracle
hibernate.jdbc.batch_versioned_data true