Java Mailing List Archive

http://www.junlu.com/

Home » user-cs.ibatis »

paramaterMaps with identical names getting mixed up between files

danw123

2010-04-14

Replies: Find Java Web Hosting

Author LoginPost Reply

We have two data definition files in the same directory for different stored
procedures. Each of these files contains:

<parameterMap id="select-param" class="int">

Thus, we have parameter maps with the same name, but in different files.

iBatis DataMapper 1.5.1 did not have a problem with this. We are trying to
upgrade to iBatis DataMapper 1.6.1 and we are finding that the wrong
parameterMap is being used for the stored proc (from another file).
It seems like iBatis is using the first parameterMap it finds with the
correct name, regardless of what file its in.

We are embedding the data definition files in the assemblies.

Has any else observed this in iBatis DataMapper 1.6.1 and is there a
workaround?

--
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-cs-unsubscribe@(protected)
For additional commands, e-mail: user-cs-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.