title: Getting NHibernate.Cfg.HibernateConfigException
body: <p>{"An exception occurred parsing configuration :The 'name' attribute is invalid - The value 'hbm.ddl.auto' is invalid according to its datatype 'String' - The Enumeration constraint failed."}</p>
  
  <p>I am getting this exception with respect to my config.hbm file cant understand why even if I am not using any name property in the config.hbm.As I am a newbie to nhibernate so cant understand wht the problem is.I am posting the Hibernate configuration file here</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;hibernate-configuration  xmlns="urn:nhibernate-configuration-2.2" &gt;
    &lt;session-factory name="NHibernate.Test"&gt;
      &lt;property name="connection.driver_class"&gt;NHibernate.Driver.SqlClientDriver&lt;/property&gt;
      &lt;property name="connection.connection_string"&gt;Data Source=KNS009-PC;Initial Catalog=WomensCare;Integrated Security=True&lt;/property&gt;
      &lt;property name="dialect"&gt;NHibernate.Dialect.MsSql2008Dialect&lt;/property&gt;
      &lt;property name="proxyfactory.factory_class"&gt;NHibernate.ByteCode.LinFu.ProxyFactoryFactory, NHibernate.ByteCode.LinFu&lt;/property&gt;
      &lt;property name="query.substitutions"&gt;true 1, false 0, yes 'Y', no 'N'&lt;/property&gt;
      &lt;property name="current_session_context_class"&gt;NHibernate.Context.ThreadLocalSessionContext&lt;/property&gt;
      &lt;property name="hbm.ddl.auto"&gt;update&lt;/property&gt;
  
    &lt;/session-factory&gt;
  &lt;/hibernate-configuration&gt;
  </code></pre>