[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3461) Enhance DialectFactory to support Sybase Adaptive Server Anywhere

Jason Stern (JIRA) noreply at atlassian.com
Wed Sep 3 14:49:38 EDT 2008


Enhance DialectFactory to support Sybase Adaptive Server Anywhere
-----------------------------------------------------------------

                 Key: HHH-3461
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3461
             Project: Hibernate3
          Issue Type: Improvement
          Components: core
    Affects Versions: 3.2.6
         Environment: Hibernate 3.2.6.GA, Sybase Adaptive Server Anywhere
            Reporter: Jason Stern
            Priority: Minor


Currently, the org.hibernate.dialect.DialectFactory class has native support for Sybase Adaptive Server Enterprise (ASE), but throws the following exception when used with Sybase Adaptive Server Anywhere (ASA):

"org.hibernate.HibernateException: Hibernate Dialect must be explicitly set for database: Adaptive Server Anywhere"

I have manually set the dialect for now, but if you could add the following line of code to the DialectFactory class, it would help with future portability:

MAPPERS.put( "Adaptive Server Anywhere", new VersionInsensitiveMapper( "org.hibernate.dialect.SybaseAnywhereDialect" ) );

Thanks for all your hard work!

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