Hmm, I also thought about the possibility to use only iBATIS and do all DB stuff with it. But with NHibernate I have not to write all those stupid SQL Statements for selecting, inserting, updating and deleting the BOs.

 

That’s the reason why I want to use NHibernate and iBATIS (DataAccess and DataMapper) together. NHibernate to manage the standard BOs and iBATIS (DataMapper) for complicated analysis and reporting queries.

 


From: Gilles Bayon [mailto:[EMAIL PROTECTED]
Sent: Samstag, 5. November 2005 20:27
To: [email protected]
Subject: Re: Using iBatis.NET DataAccess with NHibernate AND SqlMap

 

and

 

The NHibernateDaoSessionHandler.cs is no more included in the framework for Licence conflict.

 

Yes you could combine the two configuration, but why not only use iBATIS who can do all the NHibernate stuff even better, your application will be simplest and more maintainable.
 

On 11/5/05, Andreas Schmidt <[EMAIL PROTECTED]> wrote:

Well, I haven't look at the sources now. I just saw the Class Diagram in
the Data Access documentation in chapter 2.3 and thought: Cool thing!!

In the documentation there are example configurations which show how to
use the session handler for NHibernate or for SqlMap. But I'm not sure
if I can combine these two configurations.

-----Original Message-----
From: Ron Grabowski [mailto:[EMAIL PROTECTED]]
Sent: Samstag, 5. November 2005 19:56
To: [email protected]
Subject: Re: Using iBatis.NET DataAccess with NHibernate AND SqlMap

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.DataAcc
ess.Extensions/DaoSessionHandlers/

--- Andreas Schmidt <[EMAIL PROTECTED]> 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
>
>

 

Reply via email to