Hi,
I have been working through the tutorial here:
http://nhforge.org/wikis/howtonh/your-f ... ation.aspx (Your first NHibernate based application)
All is going fairly well. I can watch the results of what I'm doing via log4net, NUnit, and nhprof. The nhibernate code appears to be executing the generated sql.
So, nunit tells me that the system is executing:
Code:
drop table Product
21:00:27,761 DEBUG SchemaExport:144 -
drop table Product
create table Product (
Id UNIQUEIDENTIFIER not null,
Name NVARCHAR(255) null,
Category NVARCHAR(255) null,
Discontinued BIT null,
primary key (Id)
)
21:00:27,771 DEBUG SchemaExport:144 -
create table Product (
Id UNIQUEIDENTIFIER not null,
Name NVARCHAR(255) null,
Category NVARCHAR(255) null,
Discontinued BIT null,
primary key (Id)
)
I then see the query appear in nhprof.
But, no change is made to the database.
Same for inserts.
I see no errors at all.
I can make changes to the database manually.
If you want to know my setup just take a look at the tutorial. I have followed each of the steps.
Anyway, it's windows 2008, sql server compact, .net 4.0, visual studio 2010 etc...
What could be going on? Given that I've looked at all sorts of logging output and it all seems fine, I'm stumped.
Let me know what information you'd like me to post in order to answer this.
Many thanks!