Try the SybaseSQLAnywhere10Dialect. Available since 2010 it seems. (https://github.com/nhibernate/nhibernate-core/blob/master/src/NHibernate/Dialect/SybaseSQLAnywhere10Dialect.cs)
It sets the driver automatically if you avoid overriding it. /Oskar 2012/12/12 haepeto <[email protected]>: > I have exactly the same question. Is there an answer yet? > > On Saturday, May 24, 2008 2:58:47 AM UTC+2, Cameron Taggart wrote: >> >> What versions of Sybase SQL Anywhere (formerly Adaptive Server >> Anywhere) .NET drivers is NHibernate.Driver.ASAClientDriver >> compatible with? When I try using >> NHibernate.Dialect.SybaseAnywhereDialect I get this error: >> >> NHibernate.HibernateException: Could not create the driver from >> NHibernate.Driver.ASAClientDriver. ---> >> System.Reflection.TargetInvocationException: Exception has been thrown >> by the target of an invocation. ---> NHibernate.HibernateException: >> The IDbCommand and IDbConnection implementation in the assembly >> iAnywhere.Data.AsaClient could not be found. >> >> The dll from SQL Anywhere 10 is named iAnywhere.Data.SQLAnywhere.dll. >> When I search the web for "iAnywhere.Data.AsaClient", I get references >> to version 9. Can someone confirm that the shipped dialect only works >> with the driver from version 9? What could I do to get NHibernate >> working with version 10? >> >> >> http://www.hibernate.org/hib_docs/nhibernate/1.2/reference/en/html/session-configuration.html >> >> Cameron > > -- > You received this message because you are subscribed to the Google Groups > "nhusers" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/nhusers/-/-41ZCcH68gQJ. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. -- You received this message because you are subscribed to the Google Groups "nhusers" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nhusers?hl=en.
