Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/Cfg
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7876/NHibernate/Cfg
Modified Files:
Binder.cs
Log Message:
Added setdelimiter.
Index: Binder.cs
===================================================================
RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/Cfg/Binder.cs,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** Binder.cs 3 May 2004 14:13:15 -0000 1.22
--- Binder.cs 3 May 2004 14:33:18 -0000 1.23
***************
*** 500,508 ****
BindValue(node, model, isNullable, defaultColumnName);
! //TODO: H2.0.3 sets only the first column (shouldn't be more :))
foreach(Column col in model.ColumnCollection)
{
col.Type = NHibernate.Int32;
col.TypeIndex = 0;
}
}
--- 500,510 ----
BindValue(node, model, isNullable, defaultColumnName);
! if (model.ColumnCollection.Count > 1)
! log.Error("This shouldn't happen, check BindIntegerValue");
foreach(Column col in model.ColumnCollection)
{
col.Type = NHibernate.Int32;
col.TypeIndex = 0;
+ break;
}
}
|