• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Your preferred object-relational mapping tool ?

 
Sol Mayer-Orn
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Would you please like to share, which is your preferred object-relational tool ? Were you happy with it in heavy applications, with "real world" demands ?

Entity beans ?
JDO ?
Hibernate ?
Other ?

Personally, I'm not crazy about Entity beans, though we based one *simple* project on them and it worked, more or less. Can't wait for the 3.0 spec to be implemented...
I've also tried Hibernate, and was a bit disappointed at the fact it won't work well with natural keys (namely, it works better if you let it allocate the keys itself , say "sequential numbers". It was giving me trouble if I wanted the key to be set programatically, e.g. use a "social security number" ).

But that's just my humble opinion !

Thanks very much in advance.
 
Sol Mayer-Orn
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've just noted a similar question... however, mine does not insist of *free* tools. I don't mind if it's expensive, just that it works...
 
Pj Murray
Ranch Hand
Posts: 194
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Sol Mam-Orn:
Hi,

Would you please like to share, which is your preferred object-relational tool ? Were you happy with it in heavy applications, with "real world" demands ?

Entity beans ?
JDO ?
Hibernate ?
Other ?



There's a blog posting with a comparison of these Java persistence choices here:

http://www.codefutures.com/weblog/corporate/archives/2005/02/data_persistenc.html

Of course, you need to decide if you really want to use a mapping tool. You may find these blog postings on "DAO versus ORM" and "Choosing a Java persistence strategy" interesting:

http://www.codefutures.com/weblog/andygrove/archives/2005/02/data_access_obj.html


http://www.codefutures.com/weblog/andygrove/archives/2005/01/choosing_a_java.html
 
Sol Mayer-Orn
Ranch Hand
Posts: 311
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks
 
Andrus Adamchik
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may also want to check out Cayenne - http://objectstyle.org/cayenne/ It is open source, powerful and user friendly ORM.

IMO its usability is the among the best in free and commercial ORM space. With the GUI modeler you'll get started in no time. Runtime configuration is minimal (it just works .. no need to think how to set it up with Spring and such) Most of the deployment settings are done via Swing GUI or using Ant tasks. And you'll get lots of nice things that you may not even expect, such as automatic management of object graph consistency.

... Plus there is a friendly community :-)

Andrus
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic