Wednesday 24 September 2014

What is ORM?

ORM stands for Object Relational Mapping.
ORM is a programming technique that supports the conversion of incompatible types in object-oriented programming languages, specifically between a data store and programming objects.

Why ORM?


When we work with an object-oriented systems, there's a mismatch between the object model and the relational database. RDBMSs represent data in a tabular format whereas object-oriented languages, such as Java or C# represent it as an interconnected graph of objects.

Well, in simple thing, an Object - Relational Mapping tool basically takes away the pain of Writing SQL. As We know, In Object Oriented programming Object is a center point. So, we tend to think in terms of Object. An ORM tool keeps your object model separate from your persistence model.

What is ORM?

ORM is a programming technique for converting data between relational databases and object oriented programming languages such as, Java, C# etc. This creates, in effect, a "Virtual Object Database" that can be used from within the programming language.

No comments:

Post a Comment