Problem: Exception when using Nhibernate and MYSQL: Column ‘Reserved Word’ does not belong to table ReservedWords. Cause: See http://orbitalcoder.wordpress.com/2009/08/18/proposed-solution-for-the-nhibernate-exception-column-reserved-word-does-not-belong-to-table-reservedwords/ Solution: With NHibernate add the following hibernate-configuration session-factory property to the app/web.config <property name=”hbm2ddl.keywords”>none</property> With Fluent NHibernate call the following method when setting up the Fluent Configuration Fluently.Configure().ExposeConfiguration(cf => cf.Properties.Add(“hbm2ddl.keywords”, “none”))
February 23, 2010