Problem in DataMapper and DataAccess .NET

View: New views
3 Messages — Rating Filter:   Alert me  

Problem in DataMapper and DataAccess .NET

by Teddy78 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all, Does anyone get a problem with DaoSessionHandler in .NET with use of DataMapper and DataAccess. I ve try with 1.6.1 and 1.6.2 versions (r 1.9.1 and 1.9.2) and I get the error : - The error occurred while configure DaoSessionHandler. - The error occurred in . - Check the IBatisNet.DataAccess.DaoSessionHandlers.SqlMapDaoSessionHandler. - at IBatisNet.DataAccess.Configuration.DomDaoManagerBuilder.BuildDaoManagers(XmlDocument document, Boolean useConfigFileWatcher)    at IBatisNet.DataAccess.Configuration.DomDaoManagerBuilder.Configure(String resource) I ve found on the apache site that someone got the same error : http://issues.apache.org/jira/browse/IBATISNET-259 Does anyone know how to resolve this problem? Thanks

Re: Problem in DataMapper and DataAccess .NET

by Ron Grabowski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.
Can you replace your usage of the DataAccess library with a real IoC container?


From: Teddy78 <teddy.fredaigues@...>
To: user-cs@...
Sent: Thursday, August 6, 2009 11:30:09 AM
Subject: Problem in DataMapper and DataAccess .NET

Hello all, Does anyone get a problem with DaoSessionHandler in .NET with use of DataMapper and DataAccess. I ve try with 1.6.1 and 1.6.2 versions (r 1.9.1 and 1.9.2) and I get the error : - The error occurred while configure DaoSessionHandler. - The error occurred in . - Check the IBatisNet.DataAccess.DaoSessionHandlers.SqlMapDaoSessionHandler. - at IBatisNet.DataAccess.Configuration.DomDaoManagerBuilder.BuildDaoManagers(XmlDocument document, Boolean useConfigFileWatcher)    at IBatisNet.DataAccess.Configuration.DomDaoManagerBuilder.Configure(String resource) I ve found on the apache site that someone got the same error : http://issues.apache.org/jira/browse/IBATISNET-259 Does anyone know how to resolve this problem? Thanks

View this message in context: Problem in DataMapper and DataAccess .NET
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.

Re: Problem in DataMapper and DataAccess .NET

by Teddy78 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In fact I juste want to use the example given by iBatis for .NET : NPetshop.
I get this problem when I want to use 2 database
For one database I use a Simple DAO session handler, but when I want to use 2 database I use the SqlMapSessionHandler, and in this case I get the crash.
In fact, the problem appears when i use :
<daoSessionHandler id="SqlMap">
<property name="resource" value="SqlMap.config"/>
</daoSessionHandler>
in the dao.config.



Ron Grabowski wrote:
Can you replace your usage of the DataAccess library with a real IoC container?




________________________________
From: Teddy78 <teddy.fredaigues@sgcib.com>
To: user-cs@ibatis.apache.org
Sent: Thursday, August 6, 2009 11:30:09 AM
Subject: Problem in DataMapper and DataAccess .NET

Hello all, Does anyone get a problem with DaoSessionHandler in .NET with use of DataMapper and DataAccess.
I ve try with 1.6.1 and 1.6.2 versions (r 1.9.1 and 1.9.2) and I get the error :
- The error occurred while configure DaoSessionHandler.
- The error occurred in .
- Check the IBatisNet.DataAccess.DaoSessionHandlers.SqlMapDaoSessionHandler. - at IBatisNet.DataAccess.Configuration.DomDaoManagerBuilder.BuildDaoManagers(XmlDocument document, Boolean useConfigFileWatcher)
   at IBatisNet.DataAccess.Configuration.DomDaoManagerBuilder.Configure(String resource)  I ve found on the apache site that someone got the same error : http://issues.apache.org/jira/browse/IBATISNET-259 Does anyone know how to resolve this problem? Thanks
________________________________
 View this message in context: Problem in DataMapper and DataAccess .NET
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.