db-torque-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomáš Procházka <t.procha...@centrum.cz>
Subject Re: Torque and iBATIS
Date Sun, 16 Apr 2006 17:47:13 GMT
Hi.

Thanks you for reply.

T> I'm not an iBATIS user, but from a brief glance, Torque needs minimal 
T> preparation to get a working database model. The database objects, sql 
T> scripts, data accessors are all generated. In contrast to that, iBATIS 
T> seems to force you to write your own SQL for everything you do. This is 
T> cumbersome for simple statements, but very powerful for complicated sql. 
T> So my personal advice would be : If you use simple SQL, use Torque, if you 
T> use complicated and involved SQL, use iBATIS.
T> It is also a matter of personal taste in the end.

But in Torque I can also use my own SQL, whne I need some complication operation.
For example: BazarsPeer.executeQuery("SELECT ..."); 

I don't found any information about speed of Torque.

T> Torque's runtime runs on java 1.3, 1.4 and 1.5, and the generator runs 
T> on 1.4 and 1.5. To achieve this downward compatibilty, some libraries are 
T> included which may not be needed in java 1.5. I have never tried to find 
T> out the minimal set of libraries needed to run torque in 1.5, so no idea 
T> whether these special libraries are needed or not in 1.5. As long as you 
T> do not get a ClassDefNotFoundError, you're fine.

Project size is important for me ;-)



-------------------------- Original message --------------------------
       From: Thomas Fischer <tfischer@apache.org>
    Subject: Torque and iBATIS
       Date: Sunday, April 16, 2006, 7:31:29 PM
Attachments: Část.txt
      msgid:20060416101514.A20443@minotaur.apache.org


T> On Sun, 16 Apr 2006, Tomáą Procházka wrote:

>> Hi.

>> I have two questions.

>> For what is Torque better and for what iBATIS?


>> Why Apache has two similar projects?

T> There is no Master Plan of open source software in general or at the ASF. 
T> There are even two other ORM projects at the ASF, cayenne (in incubation) 
T> and OJB.


>> And why Torque use this:
>> xercesImpl-2.6.2.jar
>> xml-apis-2.0.2.jar

>> I this need in Java 1.5? A try delete it and all works.


T>     Thomas

----------------------- End of original message ----------------------

-- 
 Tomas Prochazka


---------------------------------------------------------------------
To unsubscribe, e-mail: torque-user-unsubscribe@db.apache.org
For additional commands, e-mail: torque-user-help@db.apache.org


Mime
View raw message