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

Steve Ebersole (JIRA) noreply at atlassian.com
Tue Sep 15 08:38:50 EDT 2009


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3461?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-3461.
-------------------------------

    Resolution: Fixed

> Enhance DialectFactory to support Sybase Adaptive Server Anywhere
> -----------------------------------------------------------------
>
>                 Key: HHH-3461
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3461
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: core
>    Affects Versions: 3.2.6
>         Environment: Hibernate 3.2.6.GA, Sybase Adaptive Server Anywhere
>            Reporter: Jason Stern
>            Assignee: Steve Ebersole
>            Priority: Minor
>             Fix For: 3.3.x, 3.5
>
>   Original Estimate: 2 minutes
>  Remaining Estimate: 2 minutes
>
> 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