I added that type trying to figure out what it wanted - removed and similar error. The original location for the type is still intact:
<id name="Id" column="key_facili" type="String" unsaved-value="00000000">
Code:
<?xml version="1.0" encoding="utf-8" ?>
<hibernate-mapping xmlns="urn:nhibernate-mapping-2.0">
<class name="SurgeryHibernate.Domain.Facility, SurgeryHibernate" table="facility">
<id name="Id" column="key_facili" type="String" unsaved-value="00000000">
<generator class="SurgeryHibernate.Domain.PaddedSequenceGenerator">
<param name="sequence">encs_facility</param>
</generator>
</id>
<property name="name" column="facility" type="String" length="36"/>
</class>
</hibernate-mapping>
{"could not instantiate id generator for strategy 'SurgeryHibernate.Domain.PaddedSequenceGenerator'"}
{"Value cannot be null.\r\nParameter name: type"}
at NHibernate.Id.IdentifierGeneratorFactory.Create(String strategy, IType type, IDictionary parms, Dialect dialect)
at NHibernate.Mapping.SimpleValue.CreateIdentifierGenerator(Dialect dialect)
at NHibernate.Persister.AbstractEntityPersister..ctor(PersistentClass model, ISessionFactoryImplementor factory)
at NHibernate.Persister.EntityPersister..ctor(PersistentClass model, ISessionFactoryImplementor factory)
at NHibernate.Persister.PersisterFactory.CreateClassPersister(PersistentClass model, ISessionFactoryImplementor factory)
at NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, Settings settings)
at NHibernate.Cfg.Configuration.BuildSessionFactory()
at SurgeryDataGen.Program.Main(String[] args) in D:\Projects\Tempus\DotNetProjects\Surgery\src\SurgeryDataGen\Program.cs:line 31
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()