: ORM Tools (Ibatis, Hibernate, OJB)
Two comments:
1) I'm using Ibatis SQLMaps on a smallish web project and they're great. I
had a basic persistence layer working in an hour. I think they're a good
middle ground between JDBC and full-on O/R mapping. Sometimes working
directly with the SQL
Just to be up front, I will tell you now that I am NOT an O/R fan. :-)
I think that when you have 50 tables in your db and your app is just a big
gui front end Hibernate is very good. Suppose in one of this 50 tables
a field is added. With iBatis you have to re-write 4 methods (update,
insert,
[EMAIL PROTECTED] 04/07/04 6:11 AM
Just to be up front, I will tell you now that I am NOT an O/R fan.
:-)
I think that when you have 50 tables in your db and your app is just a
big
gui front end Hibernate is very good. Suppose in one of this 50 tables
a field is added. With iBatis you have
lazy loading
...which has been in iBATIS for a long time. You can define those in
your sql map and it will do it just fine. :-)
Ops, I missed that! In fact, it has been added May 21, 2003 ( 1.2.5-Beta2)
Very good! i'm going to download the manual (again) and read it because now
iBatis
Hertz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 2:36 AM
To: [EMAIL PROTECTED]
Subject: SV: ORM Tools (Ibatis, Hibernate, OJB)
Eh, Middlegen and the Hibernate CodeGenerator are a good places to get an
idea of what you are going for, but if my experience is any indication, I
suggested path
sounds really good.
Matthew S. Ring
-Original Message-
From: Joe Hertz [mailto:[EMAIL PROTECTED]
Sent: Wednesday, April 07, 2004 2:36 AM
To: [EMAIL PROTECTED]
Subject: SV: ORM Tools (Ibatis, Hibernate, OJB)
Eh, Middlegen and the Hibernate CodeGenerator are a good places to get
I don't know much about ORM toools, but I can say that iBatis SQL Maps
is not an ORM tool. As I understand it, ORM tools map java object to
database tables, whereas SQL Maps map java objects to SQL statements.
iBatis just makes using JDBC much easier, whereas ORM tools hide the
JDBC from you,
Likewise, I don't know much about iBatis, but from looking at their
docs, it seems closer to traditional JDBC. We use Hibernate and have
been very happy with it, but there was bit of a learning curve involved,
especially in understanding how to write the xml mapping files that
Hibernate uses to
I agree. It only takes a few hours to learn, and you can still use SQL to
write your updates and queries.
At 02:27 PM 4/6/2004, you wrote:
Having used both, I would take iBATIS any day (and twice on sunday)
because of the simplicity - especially if you are coming from a JDBC
world.
It is
9 matches
Mail list logo