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 create tables and define relationships.
Also, Hibernate frees you from JDBC, but it has its own query language (HQL) that is very much like SQL. From: Paul Barry [mailto:[EMAIL PROTECTED] 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, doing the persistence work for you. Hibernate and OJB might be useful depending on your project, but SQL Maps will be an easier transition for you if you are used to working with JDBC, especially in a place where you may have people that specifically work on writing and tuning SQL queries. Marcelo Epstein wrote: > Hi, > Thanks everybody! > Now I am convinced to use an ORM tool. The big problem is whitch one? > Hibernate? Ibatis ?OJB? Whitch one is preferable to use with Struts?? > > Macelo Epstein > > > > On Tue, 06 Apr 2004 11:29:21 -0600, "Larry Meadors" > <[EMAIL PROTECTED]> escreveu: > > >>De: "Larry Meadors" <[EMAIL PROTECTED]> >>Data: Tue, 06 Apr 2004 11:29:21 -0600 >>Para: <[EMAIL PROTECTED]> >>Assunto: Re: Connection Pooling (How i use...) >> >>I have yet to see a *good* example of how to do jdbc on the net. >> >>Most are very simple one-off "throws SQLException" examples that don't >>seem to take into consideration little things like stability and >>releasing resources. :) >> >>That is why I think tools like iBATIS are so powerful - you get all >>the power of JDBC without the pain. >> >>Larry >> >> >>>>>[EMAIL PROTECTED] 04/06/04 11:15 AM >>> >> >>Now I am closing the connection in the finally block. >>The exemple... >> >>--------------------------------------------------------------------- >>To unsubscribe, e-mail: [EMAIL PROTECTED] >>For additional commands, e-mail: [EMAIL PROTECTED] >> >> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]