2
votes

According to the Wikipedia article object relational mapping:

is a programming technique for converting data between incompatible type systems in relational databases and object-oriented programming languages

I thought an ORM also took care of tranferring the data between the application and the database. Is that not necessarily true?

EDIT: After reading the answers I don't know if it's possible to choose a definitively correct answer to this question since perhaps it is subjective to some degree. On the one hand it is true that the ORM per se may not perform the transfer of data but rather JDBC or some other similar technology. On the other hand, the ORM is the actor that is responsible for delegating this task to JDBC and for that reason can be thought of as being "in charge" of the transfer.

2

2 Answers

3
votes

The article is referring to the concept of object relational mapping, rather than any software implementation of it, such as Hibernate, which indeed does what you mentioned (possibly delegating the job to other mechanisms).

Either way, it's a collaborative encyclopaedia, so you can always edit that article if you think you can make it more clear.

3
votes

The transfer of data is typically handled by a lower-level mechanism such as JDBC in Java.