Back to Top

Tuesday, 14 January 2014

FRAMEWORK: ORM – Object Relational Mapping


    ORM (Object Relational Mapping) is a programming concept of a mapping between Object Oriented Programming and Relational Database. It’s the technique to frame the components of Relational Database to Object Oriented Programming, to do CRUD operations. It creates an object oriented representation of a relational database, so that developers can push or pop data to database as an object.
 

  Databases are designed on the basis of Mathematical principle where as programming languages like Java, C++, C# are based on Object Oriented Programming principle. Objects have behavior and attribute, it’s good on business modeling where on the other hand database is only deals with large amount of data. Now due to this conceptual deference, in real life scenario, database transactions become unmanageable, when we are dealing with large amount of data transaction. So to bridge this difference, ORM is introduced. It’s the process of mapping tables to class objects, so that data transactions could be easier.


Pros:

  1. Create classes replicating database tables, in programming language side, so that programs can interacts with objects not direct tables.
  2. Provides APIs for normal CRUD (Create Read Update Delete) operations, so no need to write queries for that.
  3. Some provides query language which is database independent.
  4. Provision to interact with multiple databases.
  5. Helps to manage business logic easily when dealing with big amount of data, and lots of database transaction.



Corns:

  1. No need to use when your application doesn't involve much database interaction.
  2. Little bit heavier than native database connectivity.



Object Relational Mapping


9 Responses to “ FRAMEWORK: ORM – Object Relational Mapping ”

Naviya Nair said...
24 October 2016 at 15:00

I have read your blog its very attractive and impressive. I like it your blog.

Java Training in Chennai Java Training in Chennai | Core Java Training in Chennai

Online Java Training Java 8 Online Training | Java J2EE Online Training | JavaEE Training Institute in Chennai Java Training Institutes

Java Training Institutes in Chennai Java Training in Chennai


Sujitkumar said...
8 April 2017 at 15:41

nice post for sharing Java article. its really helpful for me. keep shring on updated tutorials????????????????


Anoushka Sakthi said...
20 December 2017 at 18:12

I am a Java professional who is working in an MNC for the past few months. I would like to join Java Course in Chennai to explore my work better with the help of Java Training Institute in Chennai.

Regards:

java training in chennai velachery
java training center in chennai


svr online Training said...
27 February 2018 at 11:09

very useful interview.thank's for posting.....
For Training@Java Training


CIIT Noida said...
21 April 2018 at 13:14

CIITN is the Best Php training institute in Noida and delhi Ncr. You will get Live Project Training on PHP by our PHP expert who have 5+ year industrial experience.Focus on practical and live project training. In our PHP training, we you will learn core PHP, advance PHP, HTML, CSS, JavaScript, jQuery, Bootstrap, Cake PHP and Wordpress.CIITN provides 100% job assistance in PHP training. CIITN is well known PHP coaching center because our 100% PHP students are placed now.


Ciitnoida provides Core and java training institute in noida. We have a team of experienced Java professionals who help our students learn Java with the help of Live Base Projects. The object-oriented, class-based build of Java has made it one of most popular programming languages and the demand of professionals with certification in Advance Java training is at an all-time high not just in India but foreign countries too.

By helping our students understand the fundamentals and Advance concepts of Java, we prepare them for a successful programming career. With over 13 years of sound experience, we have successfully trained hundreds of students in Noida and have been able to turn ourselves into an institute for best Java training in Noida.


java training institute in noida
php training in noida
linux training in noida
linux institute in noida
java course in noida


Careen joseph said...
27 April 2018 at 11:40

Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here.
google-cloud-platform-training-in-chennai


shri yadav said...
30 April 2018 at 12:21

Your good knowledge and kindness in playing with all the pieces were very useful. I don’t know what I would have done if I had not encountered such a step like this. dotnet training in bangalore
Dotnet developer


Anderson mathew said...
2 May 2018 at 18:06

Framework for java professionals is much important to survive and it helps to go the next level of their careers. Thank you for sharing this great content.

Java Training in Chennai
Java Training Institute in Chennai


Online SAP Trainers said...
24 May 2018 at 17:33

Great Post!!! I have read your blog and it's very informative & really impressed .
Thanks for sharing it. Keep continue your post.
Best SAP online Training Institute in India

SAP HANA online Training

SAP S/4 HANA training online

SAP UI5 Online Training in India

SAP FICO TRAINING ONLINE


Post a Comment

Popular Posts

All Rights Reserved JAVA INTERVIEW QUESTIONS | Privacy Policy | Anijit Sarkar
blog links Web Directory Academics Blogs