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:
http://www.nabble.com/Parameter-tp24955081p24955081.html
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.