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 Andreas Schmidt <an...@rawcode-solutions.de> on 2005/11/05 19:49:48 UTC

Using iBatis.NET DataAccess with NHibernate AND SqlMap

Hello all,

 

First of all excuse my, may be, bad English ;-)

 

I'm currently developing a big database application with C# and Windows
Forms. For the DB layer in my application I'm planning to use NHibernate
to persist my Business Objects and the iBatis.NET Data Mapper for
complex queries, analysis and reporting. 

 

Now my question: Is it possible to use the iBatis.NET Data Access in
this case and configure it in a way to use NHibernate DAO and SqlMap DAO
in the same application?? So I can hide the differences of NHibernate
and SqlMap.

 

 

Thanks

 

Andy


Re: Using iBatis.NET DataAccess with NHibernate AND SqlMap

Posted by Ron Grabowski <ro...@yahoo.com>.
It should be possible. Have you looked at the
IBatisNet.DataAccess.Extensions project?

http://tinyurl.com/9ldl9
http://svn.apache.org/repos/asf/ibatis/trunk/cs/mapper/IBatisNet.DataAccess.Extensions/DaoSessionHandlers/

--- Andreas Schmidt <an...@rawcode-solutions.de> wrote:

> Hello all,
> 
>  
> 
> First of all excuse my, may be, bad English ;-)
> 
>  
> 
> I'm currently developing a big database application with C# and
> Windows
> Forms. For the DB layer in my application I'm planning to use
> NHibernate
> to persist my Business Objects and the iBatis.NET Data Mapper for
> complex queries, analysis and reporting. 
> 
>  
> 
> Now my question: Is it possible to use the iBatis.NET Data Access in
> this case and configure it in a way to use NHibernate DAO and SqlMap
> DAO
> in the same application?? So I can hide the differences of NHibernate
> and SqlMap.
> 
>  
> 
>  
> 
> Thanks
> 
>  
> 
> Andy
> 
>