From ae3c25594b172d14c5088a6f138f42ac05ec615e Mon Sep 17 00:00:00 2001 From: Steve Ebersole Date: Fri, 3 Aug 2007 12:47:14 +0000 Subject: [PATCH] testsuite now uses maven profiles with properties file interpolation git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@12892 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../src/test/profile/h2/hibernate.properties | 29 -------------- .../test/profile/hsqldb/hibernate.properties | 19 ---------- testsuite/src/test/profile/rh-qa/README.txt | 3 -- .../profile/rh-qa/db2-8/hibernate.properties | 29 -------------- .../profile/rh-qa/mysql5/hibernate.properties | 29 -------------- .../rh-qa/oracle10g/hibernate.properties | 29 -------------- .../rh-qa/oracle9i/hibernate.properties | 29 -------------- .../profile/rh-qa/pgsql8/hibernate.properties | 29 -------------- .../sqlserver2005/jtds/hibernate.properties | 38 ------------------- .../sqlserver2005/msjdbc/hibernate.properties | 30 --------------- .../rh-qa/sybase12/hibernate.properties | 29 -------------- 11 files changed, 293 deletions(-) delete mode 100644 testsuite/src/test/profile/h2/hibernate.properties delete mode 100644 testsuite/src/test/profile/hsqldb/hibernate.properties delete mode 100644 testsuite/src/test/profile/rh-qa/README.txt delete mode 100644 testsuite/src/test/profile/rh-qa/db2-8/hibernate.properties delete mode 100644 testsuite/src/test/profile/rh-qa/mysql5/hibernate.properties delete mode 100644 testsuite/src/test/profile/rh-qa/oracle10g/hibernate.properties delete mode 100644 testsuite/src/test/profile/rh-qa/oracle9i/hibernate.properties delete mode 100644 testsuite/src/test/profile/rh-qa/pgsql8/hibernate.properties delete mode 100644 testsuite/src/test/profile/rh-qa/sqlserver2005/jtds/hibernate.properties delete mode 100644 testsuite/src/test/profile/rh-qa/sqlserver2005/msjdbc/hibernate.properties delete mode 100644 testsuite/src/test/profile/rh-qa/sybase12/hibernate.properties diff --git a/testsuite/src/test/profile/h2/hibernate.properties b/testsuite/src/test/profile/h2/hibernate.properties deleted file mode 100644 index ea0b833fa6..0000000000 --- a/testsuite/src/test/profile/h2/hibernate.properties +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved. # -# # -# 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, v. 2.1. This program is distributed in the # -# hope that it will be useful, but WITHOUT A 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, v.2.1 along with this # -# distribution; if not, write to the Free Software Foundation, Inc., # -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# # -# Red Hat Author(s): Steve Ebersole # -################################################################################ -hibernate.dialect org.hibernate.dialect.H2Dialect -hibernate.connection.url jdbc:h2:mem:target/test/db/h2/hibernate -hibernate.connection.driver_class org.h2.Driver -hibernate.connection.username sa -hibernate.connection.password - -hibernate.connection.pool_size 5 - -hibernate.format_sql true - -hibernate.max_fetch_depth 5 - -hibernate.cache.region_prefix hibernate.test -hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider diff --git a/testsuite/src/test/profile/hsqldb/hibernate.properties b/testsuite/src/test/profile/hsqldb/hibernate.properties deleted file mode 100644 index efe005c708..0000000000 --- a/testsuite/src/test/profile/hsqldb/hibernate.properties +++ /dev/null @@ -1,19 +0,0 @@ -hibernate.dialect org.hibernate.dialect.HSQLDialect -hibernate.connection.driver_class org.hsqldb.jdbcDriver -hibernate.connection.username sa -hibernate.connection.password -hibernate.connection.url jdbc:hsqldb:target/test/db/hsqldb/hibernate - -hibernate.connection.pool_size 1 - -hibernate.jdbc.batch_versioned_data true -hibernate.jdbc.use_streams_for_binary true - -hibernate.format_sql true - -hibernate.max_fetch_depth 1 - -hibernate.cache.region_prefix hibernate.test -hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider - -hibernate.query.substitutions yes 'Y', no 'N' \ No newline at end of file diff --git a/testsuite/src/test/profile/rh-qa/README.txt b/testsuite/src/test/profile/rh-qa/README.txt deleted file mode 100644 index ee2053af52..0000000000 --- a/testsuite/src/test/profile/rh-qa/README.txt +++ /dev/null @@ -1,3 +0,0 @@ -These profiles represent databases inside the Red Hat QA labs. These machines are -not accessible from outside the lab; they are defined here for use in the -Continuous-Integration builds of Hibernate. \ No newline at end of file diff --git a/testsuite/src/test/profile/rh-qa/db2-8/hibernate.properties b/testsuite/src/test/profile/rh-qa/db2-8/hibernate.properties deleted file mode 100644 index f805bb093e..0000000000 --- a/testsuite/src/test/profile/rh-qa/db2-8/hibernate.properties +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved. # -# # -# 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, v. 2.1. This program is distributed in the # -# hope that it will be useful, but WITHOUT A 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, v.2.1 along with this # -# distribution; if not, write to the Free Software Foundation, Inc., # -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# # -# Red Hat Author(s): Steve Ebersole # -################################################################################ -hibernate.dialect org.hibernate.dialect.DB2Dialect -hibernate.connection.driver_class com.ibm.db2.jcc.DB2Driver -hibernate.connection.url jdbc:db2://dev32.qa.atl.jboss.com:50000/jbossqa -hibernate.connection.username hiber -hibernate.connection.password hiber - -hibernate.connection.pool_size 5 - -hibernate.format_sql true - -hibernate.max_fetch_depth 5 - -hibernate.cache.region_prefix hibernate.test -hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider \ No newline at end of file diff --git a/testsuite/src/test/profile/rh-qa/mysql5/hibernate.properties b/testsuite/src/test/profile/rh-qa/mysql5/hibernate.properties deleted file mode 100644 index 638a69c9e6..0000000000 --- a/testsuite/src/test/profile/rh-qa/mysql5/hibernate.properties +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved. # -# # -# 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, v. 2.1. This program is distributed in the # -# hope that it will be useful, but WITHOUT A 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, v.2.1 along with this # -# distribution; if not, write to the Free Software Foundation, Inc., # -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# # -# Red Hat Author(s): Steve Ebersole # -################################################################################ -hibernate.dialect org.hibernate.dialect.MySQL5InnoDBDialect -hibernate.connection.driver_class com.mysql.jdbc.Driver -hibernate.connection.url jdbc:mysql://dev02.qa.atl.jboss.com/cruisecontrol -hibernate.connection.username cruisecontrol -hibernate.connection.password cruisecontrol - -hibernate.connection.pool_size 5 - -hibernate.format_sql true - -hibernate.max_fetch_depth 5 - -hibernate.cache.region_prefix hibernate.test -hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider \ No newline at end of file diff --git a/testsuite/src/test/profile/rh-qa/oracle10g/hibernate.properties b/testsuite/src/test/profile/rh-qa/oracle10g/hibernate.properties deleted file mode 100644 index 53756fc999..0000000000 --- a/testsuite/src/test/profile/rh-qa/oracle10g/hibernate.properties +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved. # -# # -# 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, v. 2.1. This program is distributed in the # -# hope that it will be useful, but WITHOUT A 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, v.2.1 along with this # -# distribution; if not, write to the Free Software Foundation, Inc., # -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# # -# Red Hat Author(s): Steve Ebersole # -################################################################################ -hibernate.dialect org.hibernate.dialect.Oracle10gDialect -hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver -hibernate.connection.username cruisecontrol -hibernate.connection.password cruisecontrol -hibernate.connection.url jdbc:oracle:thin:@dev01.qa.atl.jboss.com:1521:qadb01 - -hibernate.connection.pool_size 5 - -hibernate.format_sql true - -hibernate.max_fetch_depth 5 - -hibernate.cache.region_prefix hibernate.test -hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider \ No newline at end of file diff --git a/testsuite/src/test/profile/rh-qa/oracle9i/hibernate.properties b/testsuite/src/test/profile/rh-qa/oracle9i/hibernate.properties deleted file mode 100644 index 8d3500484c..0000000000 --- a/testsuite/src/test/profile/rh-qa/oracle9i/hibernate.properties +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved. # -# # -# 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, v. 2.1. This program is distributed in the # -# hope that it will be useful, but WITHOUT A 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, v.2.1 along with this # -# distribution; if not, write to the Free Software Foundation, Inc., # -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# # -# Red Hat Author(s): Steve Ebersole # -################################################################################ -hibernate.dialect org.hibernate.dialect.Oracle9iDialect -hibernate.connection.driver_class oracle.jdbc.driver.OracleDriver -hibernate.connection.username cruisecontrol -hibernate.connection.password cruisecontrol -hibernate.connection.url jdbc:oracle:thin:@dev20.qa.atl.jboss.com:1521:qa - -hibernate.connection.pool_size 5 - -hibernate.format_sql true - -hibernate.max_fetch_depth 5 - -hibernate.cache.region_prefix hibernate.test -hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider \ No newline at end of file diff --git a/testsuite/src/test/profile/rh-qa/pgsql8/hibernate.properties b/testsuite/src/test/profile/rh-qa/pgsql8/hibernate.properties deleted file mode 100644 index a35f57c7bd..0000000000 --- a/testsuite/src/test/profile/rh-qa/pgsql8/hibernate.properties +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved. # -# # -# 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, v. 2.1. This program is distributed in the # -# hope that it will be useful, but WITHOUT A 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, v.2.1 along with this # -# distribution; if not, write to the Free Software Foundation, Inc., # -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# # -# Red Hat Author(s): Steve Ebersole # -################################################################################ -hibernate.dialect org.hibernate.dialect.PostgreSQLDialect -hibernate.connection.driver_class org.postgresql.Driver -hibernate.connection.url jdbc:postgresql://dev01.qa.atl.jboss.com:5432:cruisecontrol -hibernate.connection.username cruisecontrol -hibernate.connection.password cruisecontrol - -hibernate.connection.pool_size 5 - -hibernate.format_sql true - -hibernate.max_fetch_depth 5 - -hibernate.cache.region_prefix hibernate.test -hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider \ No newline at end of file diff --git a/testsuite/src/test/profile/rh-qa/sqlserver2005/jtds/hibernate.properties b/testsuite/src/test/profile/rh-qa/sqlserver2005/jtds/hibernate.properties deleted file mode 100644 index 952ee14ac6..0000000000 --- a/testsuite/src/test/profile/rh-qa/sqlserver2005/jtds/hibernate.properties +++ /dev/null @@ -1,38 +0,0 @@ -################################################################################ -# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved. # -# # -# 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, v. 2.1. This program is distributed in the # -# hope that it will be useful, but WITHOUT A 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, v.2.1 along with this # -# distribution; if not, write to the Free Software Foundation, Inc., # -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# # -# Red Hat Author(s): Steve Ebersole # -################################################################################ -hibernate.dialect org.hibernate.dialect.SQLServerDialect -hibernate.connection.driver_class net.sourceforge.jtds.jdbc.Driver -hibernate.connection.url jdbc:jtds:sqlserver://dev30.qa.atl.jboss.com:3918/cruisecontrol -hibernate.connection.username cruisecontrol -hibernate.connection.password cruisecontrol - -#hibernate.connection.isolation 4096 - -#Isolation level is commneted because jtds 1.2 doesn't support it. -#But hibernate requires it. -#Workaround is to run on the sql server 2005 this: -#ALTER DATABASE cruisecontrol SET ALLOW_SNAPSHOT_ISOLATION ON; -#ALTER DATABASE cruisecontrol SET READ_COMMITTED_SNAPSHOT ON; -#Tip: no other connection to the database should be in the same time - -hibernate.connection.pool_size 5 - -hibernate.format_sql true - -hibernate.max_fetch_depth 5 - -hibernate.cache.region_prefix hibernate.test -hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider \ No newline at end of file diff --git a/testsuite/src/test/profile/rh-qa/sqlserver2005/msjdbc/hibernate.properties b/testsuite/src/test/profile/rh-qa/sqlserver2005/msjdbc/hibernate.properties deleted file mode 100644 index 9f6a1ff50a..0000000000 --- a/testsuite/src/test/profile/rh-qa/sqlserver2005/msjdbc/hibernate.properties +++ /dev/null @@ -1,30 +0,0 @@ -################################################################################ -# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved. # -# # -# 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, v. 2.1. This program is distributed in the # -# hope that it will be useful, but WITHOUT A 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, v.2.1 along with this # -# distribution; if not, write to the Free Software Foundation, Inc., # -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# # -# Red Hat Author(s): Steve Ebersole # -################################################################################ -hibernate.dialect org.hibernate.dialect.SQLServerDialect -hibernate.connection.driver_class com.microsoft.sqlserver.jdbc.SQLServerDriver -hibernate.connection.url jdbc:sqlserver://dev30.qa.atl.jboss.com:3918 -hibernate.connection.username cruisecontrol -hibernate.connection.password cruisecontrol -hibernate.connection.isolation 4096 - -hibernate.connection.pool_size 5 - -hibernate.format_sql true - -hibernate.max_fetch_depth 5 - -hibernate.cache.region_prefix hibernate.test -hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider \ No newline at end of file diff --git a/testsuite/src/test/profile/rh-qa/sybase12/hibernate.properties b/testsuite/src/test/profile/rh-qa/sybase12/hibernate.properties deleted file mode 100644 index c478a282b3..0000000000 --- a/testsuite/src/test/profile/rh-qa/sybase12/hibernate.properties +++ /dev/null @@ -1,29 +0,0 @@ -################################################################################ -# Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved. # -# # -# 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, v. 2.1. This program is distributed in the # -# hope that it will be useful, but WITHOUT A 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, v.2.1 along with this # -# distribution; if not, write to the Free Software Foundation, Inc., # -# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # -# # -# Red Hat Author(s): Steve Ebersole # -################################################################################ -hibernate.dialect org.hibernate.dialect.SybaseDialect -hibernate.connection.driver_class com.sybase.jdbc3.jdbc.SybDriver -hibernate.connection.url jdbc:sybase:Tds:dev01.qa.atl.jboss.com:4100/cruisecontrol -hibernate.connection.username cruisecontrol -hibernate.connection.password cruisecontrol - -hibernate.connection.pool_size 5 - -hibernate.format_sql true - -hibernate.max_fetch_depth 5 - -hibernate.cache.region_prefix hibernate.test -hibernate.cache.provider_class org.hibernate.cache.HashtableCacheProvider \ No newline at end of file