From 322de42a1f79e495f7e7b35dc7e5aee53ca5fbf5 Mon Sep 17 00:00:00 2001 From: Hardy Ferentschik Date: Fri, 23 Oct 2009 14:32:18 +0000 Subject: [PATCH] HHH-4523 - made the bundles use the filtered connection settings git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17827 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- entitymanager/pom.xml | 2 +- .../ejb/test/pack/cfgxmlpar/hibernate.cfg.xml | 10 +++++----- .../test/bundles/defaultpar/META-INF/persistence.xml | 10 +++++----- .../bundles/excludehbmpar/META-INF/persistence.xml | 10 +++++----- .../test/bundles/explicitpar/META-INF/persistence.xml | 10 +++++----- .../test/bundles/explodedpar/META-INF/persistence.xml | 10 +++++----- .../test/bundles/space par/META-INF/persistence.xml | 10 +++++----- .../war/WEB-INF/classes/META-INF/persistence.xml | 10 +++++----- .../hibernate/ejb/test/PackagedEntityManagerTest.java | 3 +-- 9 files changed, 37 insertions(+), 38 deletions(-) diff --git a/entitymanager/pom.xml b/entitymanager/pom.xml index a53d6bb579..23a007e199 100644 --- a/entitymanager/pom.xml +++ b/entitymanager/pom.xml @@ -146,7 +146,7 @@ - + diff --git a/entitymanager/src/test/bundles/cfgxmlpar/org/hibernate/ejb/test/pack/cfgxmlpar/hibernate.cfg.xml b/entitymanager/src/test/bundles/cfgxmlpar/org/hibernate/ejb/test/pack/cfgxmlpar/hibernate.cfg.xml index 3d02b7b2d9..c552aa3eb4 100644 --- a/entitymanager/src/test/bundles/cfgxmlpar/org/hibernate/ejb/test/pack/cfgxmlpar/hibernate.cfg.xml +++ b/entitymanager/src/test/bundles/cfgxmlpar/org/hibernate/ejb/test/pack/cfgxmlpar/hibernate.cfg.xml @@ -4,11 +4,11 @@ - org.hibernate.dialect.HSQLDialect - org.hsqldb.jdbcDriver - sa - - jdbc:hsqldb:. + ${db.dialect} + ${jdbc.driver} + ${jdbc.user} + ${jdbc.pass} + ${jdbc.url} true hibernate.test true diff --git a/entitymanager/src/test/bundles/defaultpar/META-INF/persistence.xml b/entitymanager/src/test/bundles/defaultpar/META-INF/persistence.xml index 286e9ea023..e1c4545942 100644 --- a/entitymanager/src/test/bundles/defaultpar/META-INF/persistence.xml +++ b/entitymanager/src/test/bundles/defaultpar/META-INF/persistence.xml @@ -7,11 +7,11 @@ org.hibernate.ejb.test.pack.defaultpar.Lighter - - - - - + + + + + diff --git a/entitymanager/src/test/bundles/excludehbmpar/META-INF/persistence.xml b/entitymanager/src/test/bundles/excludehbmpar/META-INF/persistence.xml index efda241e5a..ee6bcad1a8 100644 --- a/entitymanager/src/test/bundles/excludehbmpar/META-INF/persistence.xml +++ b/entitymanager/src/test/bundles/excludehbmpar/META-INF/persistence.xml @@ -7,11 +7,11 @@ META-INF/orm2.xml - - - - - + + + + + diff --git a/entitymanager/src/test/bundles/explicitpar/META-INF/persistence.xml b/entitymanager/src/test/bundles/explicitpar/META-INF/persistence.xml index fa1f0eb7a4..c3bca34750 100644 --- a/entitymanager/src/test/bundles/explicitpar/META-INF/persistence.xml +++ b/entitymanager/src/test/bundles/explicitpar/META-INF/persistence.xml @@ -12,11 +12,11 @@ org.hibernate.ejb.test true - - - - - + + + + + diff --git a/entitymanager/src/test/bundles/explodedpar/META-INF/persistence.xml b/entitymanager/src/test/bundles/explodedpar/META-INF/persistence.xml index 6b42f51e0d..525c6f5b46 100644 --- a/entitymanager/src/test/bundles/explodedpar/META-INF/persistence.xml +++ b/entitymanager/src/test/bundles/explodedpar/META-INF/persistence.xml @@ -7,11 +7,11 @@ - - - - - + + + + + diff --git a/entitymanager/src/test/bundles/space par/META-INF/persistence.xml b/entitymanager/src/test/bundles/space par/META-INF/persistence.xml index 4bca2b7a8a..97b83c2314 100644 --- a/entitymanager/src/test/bundles/space par/META-INF/persistence.xml +++ b/entitymanager/src/test/bundles/space par/META-INF/persistence.xml @@ -6,11 +6,11 @@ version="1.0"> - - - - - + + + + + diff --git a/entitymanager/src/test/bundles/war/WEB-INF/classes/META-INF/persistence.xml b/entitymanager/src/test/bundles/war/WEB-INF/classes/META-INF/persistence.xml index 286e9ea023..e1c4545942 100644 --- a/entitymanager/src/test/bundles/war/WEB-INF/classes/META-INF/persistence.xml +++ b/entitymanager/src/test/bundles/war/WEB-INF/classes/META-INF/persistence.xml @@ -7,11 +7,11 @@ org.hibernate.ejb.test.pack.defaultpar.Lighter - - - - - + + + + + diff --git a/entitymanager/src/test/java/org/hibernate/ejb/test/PackagedEntityManagerTest.java b/entitymanager/src/test/java/org/hibernate/ejb/test/PackagedEntityManagerTest.java index 1b16adb1bd..97b5a53432 100644 --- a/entitymanager/src/test/java/org/hibernate/ejb/test/PackagedEntityManagerTest.java +++ b/entitymanager/src/test/java/org/hibernate/ejb/test/PackagedEntityManagerTest.java @@ -1,3 +1,4 @@ +//$Id$ package org.hibernate.ejb.test; import java.util.HashMap; @@ -28,8 +29,6 @@ import org.hibernate.engine.SessionImplementor; import org.hibernate.event.EventListeners; import org.hibernate.stat.Statistics; -//$Id$ - /** * @author Gavin King */