Looks like one of both hashtables has a bad object as parameterClass for the select, because of the "Data conversion error". It's (as I understand) an error given by the database, not iBatis.
On Thu, Aug 13, 2009 at 11:28 AM, jmsandy<jmsa...@gmail.com> wrote: > Hello friends, I am very grateful for the help yesterday. Was not detected > this attribute(id) because was with an older version of Ibatis. What happens > now is: I have that consultat with the same instruction, passing just > different Hashtable as parameter. When I move the same object, all the > threads run correctly. But when I step objects (Hashtable) different is the > following error: Data conversion error. Use the Informix. Code: ISqlMapper > sqlMapper = this.Instance; sql.SessionStore = new > IBatisNet.DataMapper.SessionStore.HybridWebThreadSessionStore(this.Instance.Id); > System.Threading.Thread t1 = new System.Threading.Thread( new > System.Threading.ThreadStart(delegate() { list1 = > (IList)this.Instance.QueryForList("Select", ht); })); > System.Threading.Thread t2 = new System.Threading.Thread( new > System.Threading.ThreadStart(delegate() { list2 = (IList)sqlMapper > .QueryForList("Select", hashTable); })); t1.Start(); t2.Start(); t2.Join(); > Thanks. > ________________________________ > View this message in context: Parameter > Sent from the iBATIS - User - Cs mailing list archive at Nabble.com. > --------------------------------------------------------------------- To unsubscribe, e-mail: user-cs-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-cs-h...@ibatis.apache.org