Author: adamw
Date: 2009-12-07 07:43:06 -0500 (Mon, 07 Dec 2009)
New Revision: 18156
Modified:
core/trunk/documentation/envers/src/main/docbook/en-US/content/configuration.xml
core/trunk/envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
Log:
HHH-4645:
- shortening the names of the default schema/default catalog properties
Modified:
core/trunk/documentation/envers/src/main/docbook/en-US/content/configuration.xml
===================================================================
---
core/trunk/documentation/envers/src/main/docbook/en-US/content/configuration.xml 2009-12-07
12:24:42 UTC (rev 18155)
+++
core/trunk/documentation/envers/src/main/docbook/en-US/content/configuration.xml 2009-12-07
12:43:06 UTC (rev 18156)
@@ -150,7 +150,7 @@
</row>
<row>
<entry>
-
<property>org.hibernate.envers.default_audit_table_schema_name</property>
+
<property>org.hibernate.envers.default_schema</property>
</entry>
<entry>
null (same as normal tables)
@@ -163,7 +163,7 @@
</row>
<row>
<entry>
-
<property>org.hibernate.envers.default_audit_table_catalog_name</property>
+
<property>org.hibernate.envers.default_catalog</property>
</entry>
<entry>
null (same as normal tables)
Modified:
core/trunk/envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java
===================================================================
---
core/trunk/envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java 2009-12-07
12:24:42 UTC (rev 18155)
+++
core/trunk/envers/src/main/java/org/hibernate/envers/configuration/GlobalConfiguration.java 2009-12-07
12:43:06 UTC (rev 18156)
@@ -74,8 +74,8 @@
"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" :
"=";