NHibernate will insert but not update after move to host with shared server running mysql.
Posted
by Andy LifeBrixx
on Stack Overflow
See other posts from Stack Overflow
or by Andy LifeBrixx
Published on 2010-05-07T14:02:24Z
Indexed on
2010/05/09
11:58 UTC
Read the original article
Hit count: 155
nhibernate
|mysql
Hi,
I have a site running MVC and Nhibernate (not fluent) using standard session per request in an http module, runs fine locally (also with mysql) but after a move to a hosting provider no update statements are being issued.
I can insert but not update, no exceptions are raised, I have the 'show_sql' option switched on which locally shows the update statements being issued but on the server no update statements are logged.
I don't think NHProf is an option for me as I can only run asp.net apps on my shared server, are there any other methods of diagnosing NH issues like this ?
Anyone had a similar issue ?
Cheers,
A
© Stack Overflow or respective owner