views:

149

answers:

2

I have learn about Object role modeling but not about Object-relational mapping and I want to know if they are two ways of doing the same thing and what are the pros and cons? To me Object role modeling makes a lot more sense. Could you make a brief but easy to understand comparison if they can be compared. Cheers

+2  A: 

Hi

You are comapring Apples to Oranges. Object Relational Mapping is all about trying to overcome the impedance msimatch between the object world and relational databases.

Activerecord for example is a ORM that wraps a row in a database. Hibernate is another popular ORM

Just google for ORM wikipedia explains it much better

http://en.wikipedia.org/wiki/Object-relational%5Fimpedance%5Fmismatch

Edwards
Which one is Object Realtional Modelling supposed to be?
Pete Kirkham
The OP already understands Object Role Modelling and hence no point in explaining that.I explained what object relational mapping is and where he can find more answers .I dont understand why i was downvoted
Edwards
I am sorry that doesn't really make any sense. I didn't ever mention 'Object Realtional Modelling' I said Object-relational mapping and Object role modeling, how I am I spose to understand what you are talking about. I have googled them but I want to know the difference from people that use the methords.
Cool Hand Luke UK
You were downvoted because before you edited your post had so many typos it didn't even make sense.
Pete Kirkham
A: 

Object Role Modeling: software modeling notation to, specially, define domain models. You can think of this language as an alternative to using UML class diagrams to design your database. More info here: http://www.orm.net/

Object-relational mapping: a set of strategies to bridge the gap between object-oriented programs and relational databases. It aims to allow the persistent storage of objects in a relational database structure

Jordi Cabot