After discover what you are using (DataProvider) to connect to SQLAnywhere you can implements your Dialect, your Drive, your Batcher and eventually your *schema-provider* (IDataBaseSchema) and inject your implementations using NH's configuration.
You have only one restriction: what you are using should implements a formal DataProvider for .NET On Tue, Jun 8, 2010 at 3:36 PM, Jackie G. <[email protected]> wrote: > Ok Tried downloading 3.0 and it still seems to have the same issue. > > On Jun 8, 1:57 pm, "Jackie G." <[email protected]> wrote: > > Hey everyone, > > > > Does anyone know if someone has gotten SQLAnywhere 9 to work with > > NHibernate? I really need it but I get this error... > > > > Message "Unable to cast object of type > > 'iAnywhere.Data.AsaClient.AsaConnection' to type > > 'System.Data.Common.DbConnection'." string > > > > Of course Sybase has no Class descriptions so I am not sure what is > > up. I got it working with 11 but I can't get 9. It looks like the > > NHibernate 3.0.0 release might have resolved this issue but I have no > > clue where to get it. > > > > Jackie > > -- > 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]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > > -- Fabio Maulo -- 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.
