Hi,
I have the following mapping file with HB version 3.0.5 and MS SQL 2K.
<class name="Participation">
<id name="ExperimentId" type="int"/>
<property name="Guid" column="guid" type="string" />
<property name="JoinTime" type="date" />
<property name="LeaveTime" type="date" />
<property name="Participated" type="boolean" />
<sql-insert callable="true">{ call Exp_SaveExperimentUserLog (?, ?, ?, ?, ?)}</sql-insert>
</class>
I was hoping HB would bind ExperimentId to the first parameter, Guid to the second, JoinTime to the third and Participated is the last parameter? Instead, HB binds ExperimentId to the last parameter and Guid bound to the first parameter.
Is there a way to control the binding order or something like " Exp_SaveExperimentUserLog (:ExperimentId, :Guid, :JoinTime, :LeaveTime, :Participated)}"
Thanks,
|