|
Posted by Tony Marston on 12/16/07 11:59
"Manuel Lemos" <mlemos@acm.org> wrote in message
news:effht4$tdj$1@emma.aioe.org...
> Hello,
>
> on 09/22/2006 08:41 PM Tony Marston said the following:
>> On ORM (Object Relational Mapper) most definitely does NOT facilitate
>> data
>> retrieval. It is used when the structure within an object is different
>> from
>> the structure within that part of the relational database with which it
>> connects, in which case you need a mapper to deal with the differences
>> between the two structures. If the two structures are identical then you
>> don't need a mapper because it is redundant.
>
> That is really not the role of Object Relational Mapping. In this
> context, mapping means translating data structures into SQL statements
> to store and retrieve such structures from objects.
I disagree. The primary function of an ORM is not to generate SQL
statements, that is what a Data Access Object is for. An ORM has a different
purpose which I have already explained. Take a look at
http://www.martinfowler.com/eaaCatalog/metadataMapping.html
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
Navigation:
[Reply to this message]
|