Thanks for your advice!! I think I'm going to use iBATIS.
But I will also do some experiments with the integration of NHibernate and iBATIS. But not for the current customer project ;-) Thanks a lot Andy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Larry Meadors Sent: Samstag, 5. November 2005 21:51 To: [email protected] Subject: Re: Using iBatis.NET DataAccess with NHibernate AND SqlMap Heh, we just had this discussion in the user-java list. :) Here is my opinion (and I am an iBATIS bigot, so take it for what it is worth): Use iBATIS. Here is why: You can generate the insert/update/delete stuff, or write it once (seriously, how difficult is "insert into...") and forget it. The greater difficulty is in getting data OUT of your database in an efficient and useful form. I do not care what ANYONE says, that second task is simpler, faster, and more flexible with iBATIS. Period. Larry On 11/5/05, Andreas Schmidt <[EMAIL PROTECTED]> wrote: > OK, if it's really excruciating to do it with both I have to make a > decision for one of the both systems. > > Where can I get more information about the <generate/> tag? I can't find > it in the documentation. > > Thanks, > > Andy > > PS: What would you recommend for a business application with order and > customer management? > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Larry Meadors > Sent: Samstag, 5. November 2005 21:16 > To: [email protected] > Subject: Re: Using iBatis.NET DataAccess with NHibernate AND SqlMap > > The <generate /> tag handles the simple crud operations, no? > > What is left that NHibernate adds to the equation? > > Larry > > PS: I did work on a Java application where someone tried to do this > (Hibernate+iBATIS), and will never, ever do it again. It was > excruciating. > > > On 11/5/05, Andreas Schmidt <[EMAIL PROTECTED]> > wrote: > > > > > > > > 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 > > > > > > > > > > > > You can see exemple of configuration in > > > http://svn.apache.org/repos/asf/ibatis/trunk/cs/mapper/IBatisNet.DataAcc > ess.Test/NUnit/DaoTests/NHibernateDaoTest.cs > > > > > > and > > > > > > > http://svn.apache.org/repos/asf/ibatis/trunk/cs/mapper/IBatisNet.DataAcc > ess.Test/bin/Debug/dao_MSSQL_SqlClient.config > > > > > > > > > > > > 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 > > > > > > > > > > >

