Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Discussion Torque Vs Hibernate

 
fernando guiXen
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • 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.
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • 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.
 
Chris Mathews
Ranch Hand
Posts: 2712
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Definitely Hibernate. It is by far the most widely-used open source Object-Relational Mapping(ORM) tool.
 
Dennis John
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • 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: 2712
  • Mark post as helpful
  • send pies
  • 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 ]
 
Renat Zubairov
Greenhorn
Posts: 29
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
by now we have decided: hibernate

thx people
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic