To use OdbcConnections with NHibernate you must use the OdbcDriver, not the IfxDriver. But typically a native provider is better than using ODBC.
/Oskar 2013/2/11 Oskar Berggren <[email protected]>: > 2013/2/11 Alexander De Mulder <[email protected]>: >> This is the odbcconnection <db:provider id="DbProvider" provider="IfxOdbc" > > I've never heard anything about NHibernate supporting or being aware > of such syntax. Either I'm being ignorant, or you have something > besides NHibernate that reads that syntax to create OdbcConnection > instances that it then hands over to NHibernate, where NHibernate as > per the other configuration is expecting instances of IfxConnection. > > Are you passing connection instances when you open the sessions? > > /Oskar -- You received this message because you are subscribed to the Google Groups "nhusers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/nhusers?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
