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. 
 

Reply via email to