itech weekend-presentation-hibernate-abhilash
Post on 12-Apr-2017
39 Views
Preview:
TRANSCRIPT
Presented by
Agenda Agenda Introduction Advantages of Hibernate Framework Hibernate Architecture Elements of hibernate Architecture Hibernate Configuration and Mapping Hibernate Annotations Hibernate Query Language CRUD Operations in Hibernate
2
IntroductionIntroduction
3
Open source, lightweight, ORM tool.
Started in 2001 by Gavin KingAn ORM tool simplifies Crud
operation.
Advantages of Hibernate Advantages of Hibernate FrameworkFramework
4
Open source and light weightHibernate has its own query languageData base IndependentFast performanceAutomatic table creationAll exceptions are Un-checked exceptionManaging database ConnectionEazy for pagination
Hibernate ArchitectureHibernate Architecture
5
Elements of hibernate Elements of hibernate ArchitectureArchitectureConfiguration SessionFactory SessionTransaction
6
Hibernate Configuration Hibernate Configuration and Mappingand Mappinghibernate.cfg.xmlhibernate.hbm.xml
7
Hibernate AnnotationsHibernate Annotations• @Entity.
• @Table
• @Id
• @Column
8
Hibernate Query LanguageHibernate Query Languagedatabase independent
easy to learn for Java Programmer
Query Interface
9
CRUD Operations in CRUD Operations in Hibernate Hibernate
10
11
top related