Tuesday, 14 January 2014
FRAMEWORK: ORM – Object Relational Mapping
Do you like this Article?
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:
- Create classes replicating database tables, in programming language side, so that programs can interacts with objects not direct tables.
- Provides APIs for normal CRUD (Create Read Update Delete) operations, so no need to write queries for that.
- Some provides query language which is database independent.
- Provision to interact with multiple databases.
- Helps to manage business logic easily when dealing with big amount of data, and lots of database transaction.
Corns:
- No need to use when your application doesn't involve much database interaction.
- Little bit heavier than native database connectivity.
Subscribe to:
Post Comments
(
Atom
)
Popular Posts
-
public - public means everyone can access it.That means it's in global scope. As, main method is called by JVM [ Java Virtual Machine...
-
throw is used to throw an exception in a program, explicitly . Whereas, throws is included in the method's declaration part, wi...
-
Singleton in one of the most popular yet controversial design pattern, in the world of object oriented programming. It's one of t...
-
Web Container / Servlet Container / Servlet Engine : In J2EE Architecture , a web container (also known as servlet container or ser...
-
ORM ( Object Relational Mapping ) is a programming concept of a mapping between Object Oriented Programming and Relational Database ...
-
In Java Programming Language , we must declare a variable name and type, before using it. The data type of a variable defines the th...
-
Program compiles. But at runtime throws an error “NoSuchMethodError”.
-
Vector : It's synchronized. It's slower than ArrayList. It's generally used in ...
216 Responses to “ FRAMEWORK: ORM – Object Relational Mapping ”
«Oldest ‹Older 201 – 216 of 216 Newer› Newest»22 April 2025 at 23:58
Great JAVA Blog, just a bit advance for a beginner like me.... Otherwise, fantastic write-up!
Data Science Courses in India
23 April 2025 at 14:28
"I found the instructors to be very approachable. They answered every question I had during the Content Writing course, and their feedback helped me improve my skills dramatically."
https://iimskills.com/data-science-courses-in-india/
24 April 2025 at 00:42
The course has been instrumental in helping me land a job in Data Science. The practical approach made all the difference.
24 April 2025 at 20:05
I recommend this course to everyone looking to upskill.
Data Science Courses in India
5 May 2025 at 22:23
IIM SKILLS doesn’t abandon you after the course — support continues.
10 May 2025 at 14:46
شركة عزل أسطح بالقطيف
JsGiBwYPiV
17 May 2025 at 00:42
Object-Relational Mapping (ORM) is a fundamental technique that bridges the gap between Object-Oriented Programming (OOP) and Relational Databases.
Medical Coding Courses in Norway
18 May 2025 at 13:30
Well written article.
Medical Coding Courses in Norway
21 May 2025 at 15:59
This is an excellent breakdown of ORM fundamentals! You've clearly explained the core purpose of bridging object-oriented programming with relational databases. The comparison between mathematical database principles and OOP behavior is particularly helpful for understanding why ORM exists. Your balanced presentation of both pros (like database independence) and cons (performance considerations) provides valuable perspective for developers evaluating ORM solutions. The emphasis on when to use ORM - for complex data transactions rather than simple applications - shows practical wisdom. This post serves as a great introduction to ORM concepts for both new and experienced developers.
Medical Coding Courses in Kochi
21 May 2025 at 16:58
I really enjoyed reading this blog. It’s clear, informative, and feels like it’s written with real experience behind it. Thanks for sharing!
Drain Cleaning Houston
Emergency Plumber Houston
24 May 2025 at 17:22
Object Relational Mapping (ORM) is a programming technique that simplifies data manipulation between object-oriented languages and relational databases. It acts as a bridge by mapping database tables to classes in code, enabling developers to interact with the database using objects rather than raw SQL queries.
ORM frameworks like Hibernate (Java), Entity Framework (.NET), and Sequelize (Node.js) automate CRUD operations, reduce boilerplate code, and improve productivity. This abstraction allows developers to focus more on business logic and less on database details, enhancing maintainability and reducing errors.
Moreover, ORM frameworks support database portability, making applications less dependent on specific database systems. They also provide features like lazy loading, caching, and transaction management, which optimize performance and resource use.
Medical Coding Courses in Coimbatore
13 June 2025 at 12:53
Thank you for this concise and practical overview of ORM (Object‑Relational Mapping) — your breakdown of how it bridges object‑oriented languages like Java with relational databases is very clear. You’ve highlighted the core benefits—simplified CRUD through object APIs, database independence via query languages, and easier handling of complex data transactions—while also noting when ORM might be overkill. Mentioning the lighter weight option for applications with minimal DB interaction is a thoughtful caveat. This post is a great primer for anyone preparing for Java/Hibernate interviews or designing data access layers. Looking forward to more in‑depth tutorials—perhaps comparing Hibernate with iBATIS/MyBatis!
Medical Coding Courses in Mumbai
13 June 2025 at 14:02
Great insights on bulk SMS services and their impact on local businesses. Medical Coding Courses in Norway
14 June 2025 at 10:28
Clear and helpful post, Your explanations of ORM frameworks—their roles, benefits, and popular options—made it easy to understand how they bridge Java objects and databases. Perfect for anyone learning about ORMs.
Medical Coding Courses in Mumbai
19 June 2025 at 19:51
Great overview of ORM and its role in bridging the gap between object-oriented programming and relational databases. The explanation is clear, especially highlighting how ORM simplifies CRUD operations and improves manageability for complex applications. Medical Coding Courses in Mumbai
23 June 2025 at 22:46
Useful ORM summary. Very informative
Medical Coding Courses in Mumbai
Post a Comment