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
This commit is contained in:
Adam Warski 2009-12-07 12:43:06 +00:00
parent cd7a5cac7b
commit 25343680c9
2 changed files with 4 additions and 4 deletions

View File

@ -150,7 +150,7 @@
</row> </row>
<row> <row>
<entry> <entry>
<property>org.hibernate.envers.default_audit_table_schema_name</property> <property>org.hibernate.envers.default_schema</property>
</entry> </entry>
<entry> <entry>
null (same as normal tables) null (same as normal tables)
@ -163,7 +163,7 @@
</row> </row>
<row> <row>
<entry> <entry>
<property>org.hibernate.envers.default_audit_table_catalog_name</property> <property>org.hibernate.envers.default_catalog</property>
</entry> </entry>
<entry> <entry>
null (same as normal tables) null (same as normal tables)

View File

@ -74,8 +74,8 @@ public class GlobalConfiguration {
"false"); "false");
storeDataAtDelete = Boolean.parseBoolean(storeDataDeletedEntityStr); storeDataAtDelete = Boolean.parseBoolean(storeDataDeletedEntityStr);
defaultSchemaName = properties.getProperty("org.hibernate.envers.default_audit_table_schema_name", null); defaultSchemaName = properties.getProperty("org.hibernate.envers.default_schema", null);
defaultCatalogName = properties.getProperty("org.hibernate.envers.default_audit_table_catalog_name", null); defaultCatalogName = properties.getProperty("org.hibernate.envers.default_catalog", null);
correlatedSubqueryOperator = "org.hibernate.dialect.HSQLDialect".equals( correlatedSubqueryOperator = "org.hibernate.dialect.HSQLDialect".equals(
properties.getProperty("hibernate.dialect")) ? "in" : "="; properties.getProperty("hibernate.dialect")) ? "in" : "=";