Advantages of the ORM are illustrated below.
·
Automatic generation of SQL statements – The ORM layer generates
automatically SQL statements. This helps the programmers concentrate more on
the actual business logic removing the overhead of the SQL statements.
·
Support of the Multiple Databases – Majority of the ORM packages
available in the market support ANSI SQL standards. Hence, they can be used
with most of the RDBMS. This can very useful in product development.
·
ORM emphasizes on fully following the object oriented approach. Every
thing is an object. Database CRUD operations are typically called as a
function. We will have functions on the business objects like Save, Update and
Delete.