From 25343680c90359e73a1ebd271906ef2a344f1c30 Mon Sep 17 00:00:00 2001 From: Adam Warski Date: Mon, 7 Dec 2009 12:43:06 +0000 Subject: [PATCH] HHH-4645: - shortening the names of the default schema/default catalog properties git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18156 1b8cb986-b30d-0410-93ca-fae66ebed9b2 --- .../envers/src/main/docbook/en-US/content/configuration.xml | 4 ++-- .../hibernate/envers/configuration/GlobalConfiguration.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/documentation/envers/src/main/docbook/en-US/content/configuration.xml b/documentation/envers/src/main/docbook/en-US/content/configuration.xml index c335a086a1..c192c15a31 100644 --- a/documentation/envers/src/main/docbook/en-US/content/configuration.xml +++ b/documentation/envers/src/main/docbook/en-US/content/configuration.xml @@ -150,7 +150,7 @@ - org.hibernate.envers.default_audit_table_schema_name + org.hibernate.envers.default_schema null (same as normal tables) @@ -163,7 +163,7 @@ - org.hibernate.envers.default_audit_table_catalog_name + org.hibernate.envers.default_catalog null (same as normal tables) diff --git a/envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java b/envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java index c8d545b264..47ece8aea8 100644 --- a/envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java +++ b/envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java @@ -74,8 +74,8 @@ public class GlobalConfiguration { "false"); storeDataAtDelete = Boolean.parseBoolean(storeDataDeletedEntityStr); - defaultSchemaName = properties.getProperty("org.hibernate.envers.default_audit_table_schema_name", null); - defaultCatalogName = properties.getProperty("org.hibernate.envers.default_audit_table_catalog_name", null); + defaultSchemaName = properties.getProperty("org.hibernate.envers.default_schema", null); + defaultCatalogName = properties.getProperty("org.hibernate.envers.default_catalog", null); correlatedSubqueryOperator = "org.hibernate.dialect.HSQLDialect".equals( properties.getProperty("hibernate.dialect")) ? "in" : "=";