What is JDBC?
JDBC refers to the Java Database Connectivity. It provides java API that allows Java programs to access database management systems (relational database). The JDBC API consists of a set of interfaces and classes which enables java programs to execute SQL statements. Interfaces and classes in JDBC API are written in java.
Why Object-relational mapping (ORM)?
As we discussed JDBC provides a way for Java programs to communicate with the relational database. Java follows the object model and represents the data in the form of interconnected graph of objects whereas relational database represents the data in the tabular form. This creates a mismatch between the object model and the relational database. ORM resolve this mismatch problem.
What is ORM?
ORM refers to the Object-Relational Mapping. It is a programming technique for converting data between incompatible type systems like relational databases and object oriented programming languages like java.
Commonly used Java ORM Frameworks:
- Hibernate.
- Enterprise JavaBeans Entity Beans
- Spring DAO
Hibernate tutorial:
- Hibernate framework
- Hibernate architecture
- Hibernate configuration file
- Persistent class
- Object states in Hibernate
- Hibernate mapping file
- Hibernate example using xml mapping
- Hibernate annotation example
- Hibernate collections mappings
- Hibernate Set mapping
- Hibernate SortedSet mapping
- Hibernate list mapping
- Hibernate bag mapping
- Hibernate Map mapping
- Hibernate SortedMap mapping
- Hibernate association mappings
- Hibernate One-to-One Mapping
- Hibernate One-to-Many mapping
- Hibernate Many-to-One mapping
- Hibernate Many-to-Many
- Hibernate component mapping
- Hibernate Query Language (HQL)
- Hibernate Criteria Query Language (HCQL)
- Basic query hibernate
- Restrictions query Hibernate
- Order By Hibernate
- Pagination in hibernate
- Projections Hibernate
- Hibernate named query using xml
- Hibernate named query using annotation
- Hibernate native SQL
- Hibernate transaction management
- get() vs load() Hibernate
- openSession vs getCurrentSession Hibernate
- save vs persist Hibernate
- save vs update vs saveorupdate Hibernate
- merge vs update Hibernate
- Eclipse maven hibernate project
- Hibernate maven dependency