[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5330) Informix requires colon between catalog and table name

Ranieri J D Severiano (JIRA) noreply at atlassian.com
Tue Jun 22 12:37:09 EDT 2010


Informix requires colon between catalog and table name
------------------------------------------------------

                 Key: HHH-5330
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5330
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.3.1
         Environment: Hibernate 3.3.1.GA, IBM Informix Dynamic Server Version 10.00.UC5
            Reporter: Ranieri J D Severiano


I have two databases in an Informix server:
* payment
* security

Payment database has the following tables:
+ employee
+ income

Security database has the following tables:
+ user
+ role

If I connect to the payment database, I can select security database with the syntax below:

select * from security:user where username='john.connor'

But hibernate cannot generate such statement. I find the method

org.hibernate.mapping.Table.qualify(String catalog, String schema, String table)

which necessarily append dot (".") between catalog/schema and table name.

I suggest delegate such concatenation to the Dialect.

-- 
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