|
Hello, is it possible to have multiple Parameter Maps in a
single iBatis file? For instance, I would like to do the following: </resultMaps> <parameterMaps> <parameterMap id="PM1”> <…> <…> </parameterMap> <parametetMap id="PM2”> <…> <…> <…> <…> </parametetMap> </parameterMaps> And then use
these like: <statements> <procedure id="Proc1" parameterMap="PM1"> Procedure1 </procedure> <procedure id="Proc2" parameterMap="PM2"> Procedure2 </procedure> </statements> When I try to do
this, I keep getting the following error: IBatisNet.Common.Exceptions.ConfigurationException
: - The error occurred while
loading SqlMap . - loading procedure tag - The error occurred in
<sqlMap resource="MyClass.xml" />. - Check the Proc2. ---->
IBatisNet.DataMapper.Exceptions.DataMapperException : This SQL map does not
contain an ParameterMap named Proc2. Thanks for any suggestions anyone may have. |
- Multiple Parameter Maps in a single iBatis .xml file Nick Riebeek

