struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Lowe <mark.l...@boxstuff.com>
Subject Re: Why not Torque?
Date Thu, 03 Jun 2004 15:01:45 GMT
I've used torque and hibernate.

Torque gets you up and running very quickly, and has less files to 
maintain (mapping files) . In the case of hibernate to get around the 
mapping file maintenance a lot of folk including me use xdoclet.

Hibernate gives you more control than Torque but has all that messing 
around to get it running at first to get everything right.

I don't remember how torque deals with many-to-many relationships.   I 
believe that the transaction management is probably better with 
hibernate. But I haven't use torque in a while so i could be wrong.

A big difference is that torque has a table based api, where hibernate 
has a stronger bias towards Objects.

I'll have to give torque another go to have a better idea, but your 
question "Why not torque?" is as good a reason as any to stick with it.

Mark

On 3 Jun 2004, at 16:35, Julio Cesar De Salvo wrote:

> Hi,
>             I ‘ve been using Torque with Struts for quite a while and
> performs very well.
>             But I’ve seen that you guys usually uses Hibernate with
> Struts.
>             Can you tell me what are the dis/ad vantages.
>
>             Thanks
>
> Julio Cesar De Salvo - Project Leader
> iTechnology S.R.L. - Ciudad de la Paz 2846 - piso 1
> Tel 54 11 4782.6901 / Fax 54 11 4782.6901
> <mailto:jdesalvo@itechnology.com.ar> jdesalvo@itechnology.com.ar
> AVISO DE CONFIDENCIALIDAD. La información incluida en este e-mail está
> dirigida únicamente al destinatario. Puede contener información
> privilegiada, confidencial y que no debe ser revelada. Si ha recibido
> este e-mail por error, por favor no disemine, utilice, publique,
> distribuya, revele o copie esta comunicación de ningún modo. En cambio,
> por favor notifíquenos inmediatamente remitiéndonos este e-mail 
> (incluso
> el mensaje original en su contestación), por fax (54-11-4782-6901) o
> teléfono (54-11-4782-6901) y entonces elimine y deseche todas las 
> copias
> de este e-mail. Gracias.
> CONFIDENTIALITY NOTICE. The information in this e-mail is intended for
> the designated recipient only. It may contain information that is
> privileged, confidential and exempt from disclosure. If you have
> received this e-mail in error, please do not disseminate, use, publish,
> distribute, disclose or copy this communication in any way. Instead,
> please notify us immediately by return e-mail (including the original
> message in your reply), by fax (54-11-4782-6901) or by telephone
> (54-11-4782-6901) and then delete and discard all copies of this 
> e-mail.
> Thank you.
>
>


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


Mime
View raw message