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