You are using the wrong NH driver for SQLite, change

<property 
name="connection.driver_class">NHibernate.Driver.SQLiteDriver</property>
to

<property 
name="connection.driver_class">NHibernate.Driver.SQLite*20*Driver</property>


-- Roelof.

On Wed, Jun 17, 2009 at 12:50 PM, breezback <[email protected]> wrote:

>
> Hi,
>
> When hitting the Save() function like obj.Save() (ActiveRecord).
> Schema was created successfully, save operation fails.
>
> Unable to cast object of type 'Finisar.SQLite.SQLiteConnection' to
> type 'System.Data.Common.DbConnection'
>
> Did you try it?
>
> Thanks,
>
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Castle Project Users" 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/castle-project-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to