Hi Michael, I am not using DAOs (I should have mention it in my post,
sorry), just the Data Mapper. if it helps, I am sending an attachment with
the SqlMap.config file.
Regards, Germán

On 2/5/07, Michael McCurrey <[EMAIL PROTECTED]> wrote:


Is it possible to use a DLL embedded SqlMap.config file through the
DataAccess portion of IBatis.net?  I have moved the file to be a resource,
and everything works just fine.  However, switching to embedded I receive
the following error:


- The error occurred while configure DaoSessionHandler.

- The error occurred in <property name="embedded" value="
CoreDBSqlMap.config, Model" xmlns="http://ibatis.apache.org/dataAccess";
/>.

- Check the
IBatisNet.DataAccess.DaoSessionHandlers.SqlMapDaoSessionHandler.





I have my Dao configuration file set as:



<
daoSessionHandler id="SqlMap">

<
property name="embedded" value="CoreDBSqlMap.config, Model"/>

</
daoSessionHandler>



Where Model is the name of the DLL project and CoreDBSqlMap.config is set
to the root of the project.




Michael J. McCurrey
USA Digital Solutions, Inc.
602.866.8199

*- The scientific name for an animal that doesn't either run from or fight
its enemies is lunch.** *


Attachment: SqlMap.config
Description: application/xml

Reply via email to