iBatis DAO + Hibernate?

2003-12-16 Thread David Erickson
We're needing to roll out DAO and ORM in our webapp... been evaluating hibernate and it looks awesome, but we'd like to insulate our app from that, has anyone tried using iBatis' DAO layer then plugging hibernate underneath that? -David

[OT] iBatis DAO + Hibernate?

2003-12-16 Thread Hookom, Jacob
call them up in getMethod(by name). -Original Message- From: David Erickson [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 10:41 AM To: Struts Mailing List Subject: iBatis DAO + Hibernate? We're needing to roll out DAO and ORM in our webapp... been evaluating hibernate

Re: [OT] iBatis DAO + Hibernate?

2003-12-16 Thread David Erickson
- From: Hookom, Jacob [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 9:38 AM Subject: [OT] iBatis DAO + Hibernate? It seems kind of moot to use iBatis DAO over Hibernate. You are better off rolling out something to the tune of Sun's DAO spec

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Vic Cekvenich
I would use Ibatis or Hibrenate as a DAO, not both. iBatis lets you use any SQL(corelated self join, sooner or later you will need to do a trick or tune performance), which is why I have been using it with much success; and I teach Struts with it, and there are other Struts/iBatis resources.

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Ted Husted
I haven't tried it, but I have used the DAO layer with mock implementations, and it works just fine. There's nothing in that part of it that is SqlMap specific. Clinton Begin says that it should work with Hibernate, or anything else, and I would agree. For the 2.0 release, I've been

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Larry Meadors
I am working in an environment where we are mixing the two. My advice to you is to *not* do it. Pick one and use it as it was intended to be used. I personally prefer iBATIS. It is very simple; it plays well with existing databases; it allows you the flexibility, commodity and performance

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Pedro Salgado
What do you think about OJB? Pedro Salgado On 16/12/2003 16:58, Vic Cekvenich [EMAIL PROTECTED] wrote: I would use Ibatis or Hibrenate as a DAO, not both. iBatis lets you use any SQL(corelated self join, sooner or later you will need to do a trick or tune performance), which is why I

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Vic Cekvenich
I have not use OJB, so ... how much is it worth my opinion if I did not use it. Maybe people that used it can say a word relative to other DAO's. I did look at OJB, and it seamed heavy. I like light weigh. (like Sturts is light weight). iBatis I realy like. my 2c. .V Pedro Salgado wrote:

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Mark Lowe
Mine's an opinion from someone who's pretty good on the presentation and servlets stuff, and a lot greener in terms of model tier development. I've used torque and more recently hibernate on two separate projects.. Torque seems a bit dirtier, and a pain for deprecated dependencies, but does

Re: iBatis DAO + Hibernate?

2003-12-16 Thread David Erickson
- From: Larry Meadors [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 10:17 AM Subject: Re: iBatis DAO + Hibernate? I am working in an environment where we are mixing the two. My advice to you is to *not* do it. Pick one and use it as it was intended to be used. I

Re: iBatis DAO + Hibernate?

2003-12-16 Thread Ted Husted
You might be confiusing the iBATIS SqlMaps framework with the seperate and distict iBATIS DAO framework. Mixing and matching SqlMaps with Hibernate would probably be a bad idea, but the iBATIS DAO framework is a horse of a different color. The DAO framework is not linked to SqlMaps and should

[OT] RE: iBatis DAO + Hibernate?

2003-12-16 Thread Wendy Smoak
From: Ted Husted [mailto:[EMAIL PROTECTED] You might be confiusing the iBATIS SqlMaps framework with the seperate and distict iBATIS DAO framework. The DAO framework is not linked to SqlMaps and should work with anything. Otherwise, it could not be a DAO framework, since the whole idea

Re: [OT] RE: iBatis DAO + Hibernate?

2003-12-16 Thread David Erickson
If you look towards the very end of the PDF it describes the DAO Wendy. -David - Original Message - From: Wendy Smoak [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Tuesday, December 16, 2003 3:35 PM Subject: [OT] RE: iBatis DAO + Hibernate? From: Ted Husted

Re: [OT] RE: iBatis DAO + Hibernate?

2003-12-16 Thread Larry Meadors
The iBATIS DAO is for sure *not* sqlmap or jdbc specific. I have used the iBATIS DAO for LDAP and file system based data access. Larry [EMAIL PROTECTED] 12/16/03 3:35 PM From: Ted Husted [mailto:[EMAIL PROTECTED] You might be confiusing the iBATIS SqlMaps framework with the seperate and