aspose file tools*
The moose likes Object Relational Mapping and the fly likes Will there ever be a standard? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "Will there ever be a standard?" Watch "Will there ever be a standard?" New topic
Author

Will there ever be a standard?

Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

It seems there are so many different technologies out there for persistence; Hibernate, JDO, EJB, blah blah blah. Everyone has there own opinions about each one. My question is will there ever be a standard adopted for persistence? Why not just pick one and make it the best it can possibly be; addressing all bad issues from each of the technologies?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
The good thing about standards is that there's always so many to pick from...


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Barry Andrews:
It seems there are so many different technologies out there for persistence; Hibernate, JDO, EJB, blah blah blah. Everyone has there own opinions about each one. My question is will there ever be a standard adopted for persistence? Why not just pick one and make it the best it can possibly be; addressing all bad issues from each of the technologies?


People would always find problems with the chosen standard, so you couldn't possibly address all bad issues. Who says what is bad and what is good?

You might find this humerous to read. It deals with IDE's but basically the same argument.


GenRocket - Experts at Building Test Data
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Originally posted by Barry Andrews:
My question is will there ever be a standard adopted for persistence? Why not just pick one and make it the best it can possibly be; addressing all bad issues from each of the technologies?


SUN through JCP tried this at least twice: once with JDO and second with EJB spec (the part for CMP).

It is not easy to find a generic/best solution for such a large field of mapping objectual world to anything, ain't it?

./pope


blog - InfoQ.com
Barry Andrews
Ranch Hand

Joined: Sep 05, 2000
Posts: 523

Gregg,
I liked your blog! Very true!

Off topic comment: I am also attached to Eclipse right now.
Scott Ambler
author
Ranch Hand

Joined: Dec 12, 2003
Posts: 608
The first step would be to define a standard for doing representing mappings to begin with. Just like object modeling has the UML, object mapping needs the "Mapping Modeling Language" or something similar. With a common mapping interchange format would it really matter which product you were using?

- Scott


<a href="http://www-306.ibm.com/software/rational/bios/ambler.html" target="_blank" rel="nofollow">Scott W. Ambler</a><br />Practice Leader Agile Development, IBM Rational<br /> <br />Now available: <a href="http://www.ambysoft.com/books/refactoringDatabases.html" target="_blank" rel="nofollow">Refactoring Databases: Evolutionary Database Design</a>
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

Originally posted by Scott Ambler:
The first step would be to define a standard for doing representing mappings to begin with. Just like object modeling has the UML, object mapping needs the "Mapping Modeling Language" or something similar. With a common mapping interchange format would it really matter which product you were using?

- Scott


That's an interesting point Scott. Hmmm.
Alexandru Popescu
Ranch Hand

Joined: Jul 12, 2004
Posts: 995
Originally posted by Scott Ambler:
The first step would be to define a standard for doing representing mappings to begin with. Just like object modeling has the UML, object mapping needs the "Mapping Modeling Language" or something similar. With a common mapping interchange format would it really matter which product you were using?

- Scott


Very nice idea... but I would rather define firstly the set of mapping targets. And as long as you cannot include everything into this set, no absolutely generic spec will be ever possible. (sounds kind of pessimitic, ain't it?).

./pope
Gavin King
author
Ranch Hand

Joined: Aug 31, 2004
Posts: 76
Hum, Scott, I think some of the people promoting POJO persistence and ORM are actually not very big fans of UML ;-)

I agree that it would be nice to at least agree on *names* for things.


Co-Author of <a href="http://www.amazon.com/exec/obidos/ASIN/193239415X/ref=jranch-20" target="_blank" rel="nofollow">Hibernate in Action</a>
 
Don't get me started about those stupid light bulbs.
 
subject: Will there ever be a standard?