Secondly, I think this topic is more appropriate for the user list in the future, instead of dev, so that more people have access to the information.
Hope this helps,
Chris
I think my main problem is understanding how I specify the datasource at run time. At the moment, I'm only using a hardcoded value in my sqlMap.config, like the tutorial, and don't know where to start looking to do it any other way.
Do you have any links to documentation about how I can dynamically set the datasource for my SqlMapper?
I'll ponder it over the weekend. Thanks for the info so far :)
--
Per Magne
From: Gilles Bayon [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 28, 2006 15:41
To: dev@ibatis.apache.org
Subject: Re: Mapping objects from CSV files. (.Net)
You just have to use the CSV file as a database (forget that the DataSource is flat file, you are just using an ADO.NET OLEDB provider as Access).
set the connection sting
set the sql statement in your mapping file
set you parameter map, result map
and go
--
Cheers,
Gilles
Wish List