I think that would be spring.data

got the following debug output:
Spring.Data.NHibernate.HibernateTransactionManager - Exposing Hibernate 
transaction as ADO transaction [System.Data.Odbc.OdbcConnection]

Op dinsdag 12 februari 2013 13:31:02 UTC+1 schreef Oskar Berggren het 
volgende:
>
> The discrepancy appears to be that you have configured NHibernate with 
> its IfxDriver which expects to use instances of IfxConnection, but 
> SOMETHING is providing NHibernate with instance of OdbcConnection 
> instead. You need to remove the discrepancy by either telling 
> NHibernate to use OdbcDriver, or by fixing SOMETHING to generate 
> instances of IfxConnection instead of OdbcConnection (or by letting 
> NHibernate generate its own connections). 
>
> I don't know spring.net. 
>
> /Oskar 
>
>
> 2013/2/12 Alexander De Mulder <[email protected] <javascript:>>: 
> > Hi Oskar, 
> > 
> > I'm using the informix client sdk driver 3.70FC5DE 
> > 
> > attached my spring configuration 
> > 
> > Op maandag 11 februari 2013 15:41:44 UTC+1 schreef Oskar Berggren het 
> > volgende: 
> >> 
> >> 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] <javascript:>. 
> > To post to this group, send email to [email protected]<javascript:>. 
>
> > Visit this group at http://groups.google.com/group/nhusers?hl=en. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>

-- 
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.


Reply via email to