SlideShare a Scribd company logo
1
2
ORM goal: Take advantage of the things SQL
databases do well, without leaving the Java language of
objects and classes.
ORM real goal: Do less work and have a happy DBA.
Hibernate is an open-source ORM toolkit for the Java
language, providing a framework for mapping an object-
oriented domain model to a traditional relational
database.
3
4
XML (Extensible Markup Language) is a human readable
way of describing structured data.
XML is made up of tags enclosing text:
<dataset>
<record>
<name>David</name>
<age>47</age>
</record>
</dataset>
Mapping Java classes to database table is accomplished
through the configuration of an XML file.
5
SQL (Structured Query Language) is a standard language
for accessing and manipulating relational databases.
SQL queries allow the user to specify a description of the
desired result set:
SELECT title, price
FROM Book
WHERE price > 100.00
ORDER BY title
SQL is designed for the retrieval and management of data in
database and database schema creation and
modification.
6
• Hibernate Query Language (HQL)
• “minimal” object-oriented dialect of ANSI SQL
• Criteria Queries (QBC)
• extensible framework for query objects
• includes Query By Example (QBE)
• Native SQL queries
• SQL queries may be defined and called exactly HQL
query
7
• Persistence for POJOs (JavaBeans)
• Flexible and intuitive mapping
• Support for fine-grained object models
• Powerful, high performance queries
• Dual-Layer Caching Architecture (HDLCA)
• Lazy loading

More Related Content

PDF
Dom Hackking & Security - BlackHat Preso
PPTX
Structured Query Language (SQL)
PDF
TERMINALFOUR t44u 2012 - Editing and Duplicating of Content Types
PPT
Hibernate java and_oracle
PPT
PPT
Basic Hibernate Final
PPT
Introduction to hibernate
PPT
02 Hibernate Introduction
Dom Hackking & Security - BlackHat Preso
Structured Query Language (SQL)
TERMINALFOUR t44u 2012 - Editing and Duplicating of Content Types
Hibernate java and_oracle
Basic Hibernate Final
Introduction to hibernate
02 Hibernate Introduction

Similar to Hibernate introduction (20)

PDF
Handy annotations-within-oracle-10g
PPT
ORACLE 9i
PDF
Sql server difference faqs- 6
PPTX
Introduction to Database Management Systems and SQL
PPTX
Polyglot Database - Linuxcon North America 2016
PDF
Xml databases
PPTX
Big Data Analytics Module-4 power point presentation vtu
PPT
Hibernate
PPTX
ADBMS Object and Object Relational Databases
PPTX
Unit iv xml dom
PPTX
Robust Module based data management system
PPTX
Pl sql content
PPTX
DEE 431 Introduction to Mysql Slide 3
PDF
Free Hibernate Tutorial | VirtualNuggets
PPTX
MODERN DATABASES (2).pptx in which modern types of data bases
PPTX
Expertezed 2012 Webcast - XML DB Use Cases
PPTX
Azure cosmos db, Azure no-SQL database,
PPTX
Introduction to SQL.pptx
PPTX
Azure CosmosDB
Handy annotations-within-oracle-10g
ORACLE 9i
Sql server difference faqs- 6
Introduction to Database Management Systems and SQL
Polyglot Database - Linuxcon North America 2016
Xml databases
Big Data Analytics Module-4 power point presentation vtu
Hibernate
ADBMS Object and Object Relational Databases
Unit iv xml dom
Robust Module based data management system
Pl sql content
DEE 431 Introduction to Mysql Slide 3
Free Hibernate Tutorial | VirtualNuggets
MODERN DATABASES (2).pptx in which modern types of data bases
Expertezed 2012 Webcast - XML DB Use Cases
Azure cosmos db, Azure no-SQL database,
Introduction to SQL.pptx
Azure CosmosDB
Ad

More from husnara mohammad (16)

PPT
Jsp intro
PPT
Hibernate
PPT
Spring frame work
PPT
Java intro
PPT
Php with my sql
PPT
Asp dot net
PPT
PPT
Sql introduction
PPT
Ruby on Rails
PPT
C++ basics
PPT
Ajax basic intro
PPT
Backbone js
PPT
Web attacks
Jsp intro
Hibernate
Spring frame work
Java intro
Php with my sql
Asp dot net
Sql introduction
Ruby on Rails
C++ basics
Ajax basic intro
Backbone js
Web attacks
Ad

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Machine learning based COVID-19 study performance prediction
PDF
Approach and Philosophy of On baking technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
cuic standard and advanced reporting.pdf
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
Spectroscopy.pptx food analysis technology
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Encapsulation theory and applications.pdf
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Spectral efficient network and resource selection model in 5G networks
Machine learning based COVID-19 study performance prediction
Approach and Philosophy of On baking technology
Building Integrated photovoltaic BIPV_UPV.pdf
cuic standard and advanced reporting.pdf
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Spectroscopy.pptx food analysis technology
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Dropbox Q2 2025 Financial Results & Investor Presentation
Agricultural_Statistics_at_a_Glance_2022_0.pdf
The Rise and Fall of 3GPP – Time for a Sabbatical?
Chapter 3 Spatial Domain Image Processing.pdf
Network Security Unit 5.pdf for BCA BBA.
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
NewMind AI Weekly Chronicles - August'25 Week I
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Encapsulation theory and applications.pdf
Review of recent advances in non-invasive hemoglobin estimation
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows

Hibernate introduction

  • 1. 1
  • 2. 2 ORM goal: Take advantage of the things SQL databases do well, without leaving the Java language of objects and classes. ORM real goal: Do less work and have a happy DBA. Hibernate is an open-source ORM toolkit for the Java language, providing a framework for mapping an object- oriented domain model to a traditional relational database.
  • 3. 3
  • 4. 4 XML (Extensible Markup Language) is a human readable way of describing structured data. XML is made up of tags enclosing text: <dataset> <record> <name>David</name> <age>47</age> </record> </dataset> Mapping Java classes to database table is accomplished through the configuration of an XML file.
  • 5. 5 SQL (Structured Query Language) is a standard language for accessing and manipulating relational databases. SQL queries allow the user to specify a description of the desired result set: SELECT title, price FROM Book WHERE price > 100.00 ORDER BY title SQL is designed for the retrieval and management of data in database and database schema creation and modification.
  • 6. 6 • Hibernate Query Language (HQL) • “minimal” object-oriented dialect of ANSI SQL • Criteria Queries (QBC) • extensible framework for query objects • includes Query By Example (QBE) • Native SQL queries • SQL queries may be defined and called exactly HQL query
  • 7. 7 • Persistence for POJOs (JavaBeans) • Flexible and intuitive mapping • Support for fine-grained object models • Powerful, high performance queries • Dual-Layer Caching Architecture (HDLCA) • Lazy loading