You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Teddy78 <te...@sgcib.com> on 2009/08/06 17:30:09 UTC
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: http://www.nabble.com/Problem-in-DataMapper-and-DataAccess-.NET-tp24848796p24848796.html
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.
Re: Problem in DataMapper and DataAccess .NET
Posted by Teddy78 <te...@sgcib.com>.
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 <te...@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.
>
>
--
View this message in context: http://www.nabble.com/Problem-in-DataMapper-and-DataAccess-.NET-tp24848796p24860143.html
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: user-cs-unsubscribe@ibatis.apache.org
For additional commands, e-mail: user-cs-help@ibatis.apache.org
Re: Problem in DataMapper and DataAccess .NET
Posted by Ron Grabowski <ro...@yahoo.com>.
Can you replace your usage of the DataAccess library with a real IoC container?
________________________________
From: Teddy78 <te...@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.