I'm trying to migrate an MVC 2/NHibernate site from using SQLite on
the development environments to SQL CE 4.

Since I'm using Visual Studio 2008 I used the SqlCeCmd tool to create
the database file manually, and after a couple of problems I was able
to solve with help from a Stack Overflow page I was able to build my
project. But when running my database test suite and it's trying to
init the database I get a System.Data.SqlServerCe.SqlCeException :
There was an error parsing the query. The token in error is CHECK.

So I'm thinking SQL CE 4 has some constraint issues here, but
shouldn't NHibernate know how to handle them? In my config I'm using
NHibernate.Dialect.MsSqlCeDialect and the
NHibernate.Driver.SqlServerCeDriver.

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

Reply via email to