Help coderanch get a
new server
by contributing to the fundraiser
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Carey Brown
  • Mikalai Zaikin
Bartenders:
  • Lou Hamers
  • Piet Souris
  • Frits Walraven

Discussion Torque Vs Hibernate

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
(firstly ... excuse me for my english)
hi people:
we have to decide if we must use a persistence layer or not in a new project.. we have decided that yes�.. but..
now we have a doubt.. 'Hibernate or Torque'.. we have a little experience working with Hibernate... but we have heard that Torque may also be a good chance..
which is the comunity's choose?
which project is more mature?
which one of them is most likely to be come a standar?
which one of them has more projects around it, offering new functionalities?
what would you choose?
thanks in advance�
gracias.
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I would say Hibernate. I haven't used Torque myself, but I also haven't heard of anyone who has used Torque so that would imply that it isn't too widely used.
 
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Definitely Hibernate. It is by far the most widely-used open source Object-Relational Mapping(ORM) tool.
 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am evaluating Torque right now and like it a lot. Haven't tried OJB or Hibernate yet as those are next on my list. But I'm wondering why more people don't use Torque?
 
Chris Mathews
Ranch Hand
Posts: 2713
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Dennis John:
I am evaluating Torque right now and like it a lot. Haven't tried OJB or Hibernate yet as those are next on my list. But I'm wondering why more people don't use Torque?


Torque is way too invasive. It requires that your Domain Model extend Torque specific classes. This ties your Domain Model directly to your persistance layer and horribily violates the Single Responsibility Principle.
Hibernate and most modern persistance tools like JDO and even OJB, work directly on POJOs and offer a nice decoupling between your Domain Model and your persistance layer. This is my number one complaint with Torque and I consider it a showstopper.
[ January 30, 2004: Message edited by: Chris Mathews ]
 
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi
May be this would be helpfull
http://c2.com/cgi-bin/wiki?ObjectRelationalToolComparison
Actually there no Torque mentioned but description is quite full and you can put all features Torque has in the list and see how it is.
Br
Renat
[ February 01, 2004: Message edited by: Renat Zubairov ]
 
fernando guiXen
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
by now we have decided: hibernate

thx people
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic