Hi Diego
I Am using the JetDialect as it can be seen below.
<property name="dialect">NHibernate.JetDriver.JetDialect,
NHibernate.JetDriver</property>
<property
name="connection.provider">NHibernate.Connection.DriverConnectionProvider</
property>
<property
name="connection.driver_class">NHibernate.JetDriver.JetDriver,
NHibernate.JetDriver</property>
cjjohansen
On 11 Okt., 13:31, Diego Mijelshon <[email protected]> wrote:
> What driver and dialect are you using?
>
> Diego
>
>
>
> On Mon, Oct 11, 2010 at 07:21, cjjohansen <[email protected]> wrote:
> > Hi
>
> > I've managed to configure my nHibernate solution to connect with a MS
> > Access 2007 database.
> > I'm using the Microsoft.ACE.OLEDB.12.0 dll
> > <property
> > name="connection.connection_string">Provider=Microsoft.ACE.OLEDB.
> > 12.0;Data Source="..\..\CJJAccessDBTest\Database1.accdb";</property>
>
> > But I get an error when executing a query. The reason for the error is
> > that ACCESS does not understand the
> > SET NOCOUNT ON; statement generated by nHibernate.
>
> > How do I tweak nHibernate into not generating the SET NOCOUNT ON
> > statement for the generated SQL ?
>
> > Thanks
> > cjjohansen
>
> > --
> > 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.- Skjul tekst i anførselstegn -
>
> - Vis tekst i anførselstegn -
--
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.