Is it wrong for Wikipedia to say that the ORM is just doing type translation and not necessarily passing data?

According to the Wikipedia article Object Relational Mapping:

- a programming method for converting data between incompatible types in relational databases and object-oriented programming languages

I thought the ORM also took care of transferring data between the application and the database. Isn't that necessarily true?

EDIT: After reading the answers, I don't know if it is possible to choose the definitively correct answer to this question, since perhaps it is subjective to some extent. On the one hand, it is true that ORM as such cannot handle data transfers, but rather JDBC or some other similar technology. On the other hand, the ORM is the actor who is responsible for delegating this task to JDBC, and for this reason can be considered "in charge" of the transfer.

+2


source to share


2 answers


The article refers to the concept of object relational mapping, not any softwarelike Hibernate, which really does what you mentioned (maybe delegating work with other mechanisms).



This is a collaborative encyclopedia anyway, so you can always edit this article if you think you can make it clearer.

+3


source


Data transfer is usually handled by a lower level mechanism like JDBC in Java.



+3


source







All Articles