ORM stands for Object-Relational Mapping (ORM) is a programming technique for converting data between relational databases and object oriented programming languages such as Java, C#, etc.
Let’s business code access objects rather than DB tables.
|Hides details of SQL queries from OO logic.|
Based on JDBC ‘under the hood.’
|No need to deal with the database implementation.|
Entities based on business concepts rather than database structure.
|Transaction management and automatic key generation.|
Fast development of application.
Java ORM Frameworks
There are several persistent frameworks and ORM options in Java. A persistent framework is an ORM service that stores and retrieves objects into a relational database.
- Enterprise JavaBeans Entity Beans
- Java Data Objects
- Spring DAO
- And many more