I am new to NHibernate and I am trying to set up my database connection to
an informix database that has a custom odbc driver. (no choice). I am not
sure the best way to go about this. My connection looks like this:
return Fluently.Configure()
.Database(
IfxOdbcConfiguration
.Informix
.Provider<NHibernate.Connection.DriverConnectionProvider>()
.Driver<NHibernate.Driver.OdbcDriver>()
.Dialect<NHibernate.Dialect.InformixDialect>()
.ConnectionString(connectionstring)
.ShowSql()
)
when I execute this:
session.SaveOrUpdate(obj);
I get a genericADOexception: could not retrieve snapshot
Something isn't quite right and I am not sure how to fix this. Any
suggestions would be helpful.
--
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.
For more options, visit https://groups.google.com/groups/opt_out.