[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2031) Add functions to Dialect that can disable use of schema and catalog parts -- for HSQLDB support

Brian Holmes (JIRA) noreply at atlassian.com
Fri Aug 25 15:29:24 EDT 2006


Add functions to Dialect that can disable use of schema and catalog parts -- for HSQLDB support
-----------------------------------------------------------------------------------------------

         Key: HHH-2031
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2031
     Project: Hibernate3
        Type: Patch

  Components: core  
    Versions: 3.1.3    
 Environment: This patch is against r9668 of /tags/v313/Hibernate3.

    Reporter: Brian Holmes
 Attachments: hibernate3-v313-support_schema_catalog_names.patch

HSQLDB does not support the use of three part names, that is Tables with schema and catalog parts.

This patch adds two functions to Dialect: supportsSchemaNames() and supportsCatalogNames().  Table.getQualifiedName() checks these values to decide whether to use or ignore the schema and catalog parts.

By default these are enabled in Dialect.  This patch only disables their use in HSQLDialect.


This change is necessary for people who normally use Schema and Catalog names for access their primary database, but also use HSQLDB for Unit Testing.  Without it, HSQLDB is unusable for Unit Testing because it fails on use of any catalog or schema names.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list