Re: ResultMap composite key problem - SOLVED

2005-05-19 Thread Clinton Begin
Hmmm..I suppose we could have implemented a better error check therefeel free to put in an "Improvement" in JIRA. ClintonOn 5/19/05, Stuart Piltch <[EMAIL PROTECTED]> wrote: Of course it was something simple.After ripping apart my project until it was just one set of bare bones jarsand classe

Re: ResultMap composite key problem - SOLVED

2005-05-19 Thread Stuart Piltch
Of course it was something simple. After ripping apart my project until it was just one set of bare bones jars and classes and still seeing the error, I restored from cvs, cursed the computer and made some coffee. After a few sips away from the computer, I realized what happened. A quick trip to m

Re: ResultMap composite key problem

2005-05-19 Thread Clinton Begin
That parsing happens in BasicResultMap. http://svn.apache.org/repos/asf/incubator/ibatis/trunk/java/mapper/mapper2/src/com/ibatis/sqlmap/engine/mapping/result/BasicResultMap.java There are 3 prepareXxxParameter methods.  One for Primitives, one for DOM and one for Beans.  The only one that d

Re: ResultMap composite key problem

2005-05-19 Thread Stuart Piltch
Clinton Begin gmail.com> writes: > That is terribly strange. We have a unit test confirming proper parsingI wonder if the space is giving you trouble? > Ours looks like this: >column="{orderId=ORD_ID,lineId=ORD_FAVOURITE_LINE}" > select="getSpecificLineItem"/> > Try removin

Re: ResultMap composite key problem

2005-05-18 Thread Clinton Begin
That is terribly strange.  We have a unit test confirming proper parsingI wonder if the space is giving you trouble? Ours looks like this:       column="{orderId=ORD_ID,lineId=ORD_FAVOURITE_LINE}"   select="getSpecificLineItem"/> Try removing the space. ClintonOn 5/18/05, Stuart P

ResultMap composite key problem

2005-05-18 Thread Stuart Piltch
Hi there, I recently added some resultMaps with composite keys as described in the documentation: http://ibatisnet.sourceforge.net/DevGuide/ar01s03.html#d0e1064 I've done this successfully in iBatis before in other projects, but now I keep getting a jdbc "Column not found" error (see below for so