SlideShare una empresa de Scribd logo
1 de 11
1. Hibernate Overview
 The Issues with Persistence Layers
 Issues with JDBC Alone
 Hibernate Environments
 Hibernate Architecture
 Hibernate Overview
 Hibernate Benefits
 Object-Relational Mapping (ORM) Issues
 More Detailed Architecture
2. Using Hibernate
 The Configuration Class
 The SessionFactory Interface
 Configuring Hibernate
 hibernate.cfg.xml Elements
 SessionFactory API
 SessionFactory Configuration
 The Session Interface
 Sessions and Transactions
 SessionFactory Configuration Properties
 Acquiring Hibernate
 Using Hibernate
3. Mapping a Simple Class
 The Hibernate Mapping File
 The <hibernate-mapping> Element
 The <class> Element
 The EVENTS Table
 Persistent Entity Classes
 Persistent Classes
 Hibernate Mapping Types
 Common Hibernate Type Mappings
 Filed Access or Property Access
 Mapping the id Property with <id>
 More About Primary Keys
 Generating the id Value
 Hibernate Sessions
 The Session Interface
 The Event Class
 The id Property
 Mapping Properties with <property>
 The Mapping File
 Retrieving Persistent Objects
4. Logging
 Hibernate log4j.properties File
 The log4j.properties File
 Modifying log4j.properties for Hibernate
 Hibernate Logging Categories
 Hibernate.show_sql
 Apache Log4J
5. Appendix - Log4J
 Apache Log4J
 Appenders
 Aprender Additivity
 Layout
 log4j Loggers
 Logger Hierarchy
 PatternLayout
 Multiple Layouts
 Logger Levels
 log4j Configuration File
 Some log4j Appenders
6. Inserting and Updating
 Inserting Instances
 Deleting an Instance
 Modifying a Persistent Instance
7. Querying and Hibernate Query Language (HQL)
 Hibernate Query Language
 HQL Operators and Expressions
 Query Parameters
 Using Query Parameters
 Aggregate Functions
 HQL Basics
 Executing a Query
 Projection Queries
 Projection Queries Returning Tuples
 Other Common Query Methods
 Where Clause/Restriction
 Named Queries
 Additional Query Capabilities
8. Transaction Definition
 Transactions Modularize Systems
 Transaction Lifecycle
 Transactions Clarify Systems
9. Hibernate and Transactions
 Hibernate and Transactions
 Working with Transactions
 Working in a Managed Environment
 The Hibernate Transaction API
 Hibernate Transaction Demarcation
10. The Persistence Lifecycle
 Session/Persistence Context Lifespan
 Session-per-Request
 Hibernate Object States
 Transient and Persistent State
 Detached and Removed State
 What is the - Current Context
 Contextual Session Scope
 The Persistence Context as Cache
 Using Contextual Sessions
 Synchronization to the Database
 Hibernate Object States and Transitions
 The Persistence Context
 Session Propagation
 First - Acquiring a SessionFactory Instance
 Contextual Session
 Persistence Context and Object Identity
 Yes, It’s Complicated
 Flushing the Session
11. Versioning and Optimistic Locking
 Version Property in Java Class
 Version Element in Mapping File
 Automatic Version Maintenance
 Locking Objects
 Lock Modes
 Updating a Detached Instance
 session.saveorupdate()
 Detached Objects and Optimistic Locking
 Using a Detached Instance
 Optimistic Locking and Versioning
 The unsaved-value Attribute
12. Relationships Overview
 Characteristics of Relationships
 Directionality
 Object Relationships
 Characteristics of Relationships
13. Collections of Value Objects
 Mapping the Set of Values
 Using a Set of Values
 Collections of Values
 Mapping a List of Values
 Sorted and Ordered Collections
 Modeling a List of Values
 Mapping Collections of Components
 Collections of Components
 Modeling a Set of Values
 Using the Java Collection Types
 More on the Java Collection Type
14. Mapping Entity Relationships
 Bidirectional One-To-Many Relationship
 Defining the One-To-Many Relationship
 Mapping the One-To-Many Relationship
 Transitive Persistence
 The Cascade Attribute
 Cascade Choices
 Choosing Cascade Options
 Mapping a One-To-One Relationship
 Many-To-Many Relationship
 Defining Many-To-Many Relationship
 More on the Inverse Side
 Unidirectional Many-To-One Relationship
 Mapping Many-To-Many Relationship
 Lazy and Eager Loading
 Queries Across Relationships
 OUTER and FETCH JOIN
 The Table Structure - Many-To-One
 Mapping the Relationship
 Using the Relationship
 Cascading Operations
 Bidirectional One-To-One Relationship
15. Mapping Inheritance
 Inheritance
 Class Definitions for Single-Table
 Bulk Update and Delete
 Executing Bulk Operations
 Mapping for Single-Table
 Table per Concrete Class
 Projection Queries
 Aggregate Queries
 Single-Table: Pros and Cons
 Native SQL Queries
 Refining SQL Queries
 Retrieving Entities with SQL Queries
 Entity Inheritance
 Details of Entity Inheritance
 Single-Table Strategy
 Table per Subclass (Joined Subclass)
 Mapping for Table per Subclass
 Joined: Pros and Cons
16. Filters
 Using a Filter
 Collection Filters
 Mapping a Filter to a Set
 Hibernate Filters
 Defining and Attaching Filters
17. Criteria
 Eager Fetching
 Restrictions - Narrowing the Result Set
 Restrictions Methods
 Navigating Associations
 Query by Example
 Refining the Example
 Additional Capabilities
18. JPA Overview
 Hibernate and JPA
 Java Persistence Environments
 Java Persistence API Overview
19. Mapping a Simple Class
 The Event Class
 The id Property
 Basic Mapping Types
 Mapping Properties
 The Entity Declaration
 Entity Classes
 Event Entity Mapped with JPA
20. Entity Manager and Persistence Context
 Acquiring an EntityManager
 Working with Transactions
 The Entity Manager & Persistence Context
 Persistence Unit
 Retrieving Persistent Objects
 persistence.xml
21. Inserts and Queries
 Persisting a New Entity
 Executing a Query
 Versioned Class and Detached Objects
 WHERE Clause and Query Parameters
 Named Queries
 Java Persistence Query Language
 Version Property in Java Class
22. Relationships
 Inheritance
 JPA Support for Relationships
 Entity Definitions for Single-Table
 Entity Definitions for Joined
 Mapping the Many-To-One Relationship
 Mapping the One-To-Many Relationship
 Loading and Cascading
 Queries Across Relationships
23. Components and Multi-Table Mapping
 Component Overview
 Multi-Table Mapping
 Mapping a Component
24. equals() and hashCode()
 Defining equals() and hashCode()
 Redefining equals()
25. Caching
 Second-Level Cache
 Configuring Caching
 Concurrency Strategies
 Managing the Caches
 Data Appropriate for Caching
 Cache Providers
26. Design Considerations
 Beware of N+1 Select Issue
 Long Conversations
 Data Access Object (DAO)
 Open Session in View Pattern
 Query Efficiency Techniques
 Session-per-Conversation
 Problems with Web Applications
 Prefetching Data in Batches
27. Hibernate Toolset
 Hibernate Tools Overview
 Hibernate Console Configuration
 Hibernate Console Perspective
 HQL Editor
 Hibernate Configuration View
 Class Diagram
 Query Results
 Properties View
 SQL Preview
 Important Note on Versions
 Optional - Hibernate Tools
 Install Hibernate Tools
 Other Capabilities
Highlights in Training Process;
Conducting demos any time to your convenience.
Providing 24/7 Technical support with lab services.
Certified Trainers.
Easy Payment options.
Hands on training for better performance in Real time Environment.
We maintain flexible Batch system for your better understanding.
Certified Course Content
Standard Material, Real time Examples.
Completing training in the given Duration.
Weekdays and Weekend Batches are available.
Contact Information;
Skype Id ; adithyaelearning
Contact Number ; +91 8790679998 , 9848371343.
USA + 001 224 585 7588
Email id ; adithyaelearning@gmail.com, info@adithyaelearning.com
Website ; www.adithyaelearning.com

Más contenido relacionado

Destacado

Vocabulary sports
Vocabulary sportsVocabulary sports
Vocabulary sportspatpen55
 
Cognito crm &amp; marketing automation
Cognito crm &amp; marketing automation Cognito crm &amp; marketing automation
Cognito crm &amp; marketing automation Trang Pham
 
Getting Started with Big Data
Getting Started with Big DataGetting Started with Big Data
Getting Started with Big DataSoner Altin
 
World is magnifique magazine Fev March 2014
World is magnifique magazine Fev March 2014World is magnifique magazine Fev March 2014
World is magnifique magazine Fev March 2014Prakash Montroy
 
Présentation Comité de Citoyens Vaudreuil Durable 2016 11-24
Présentation Comité de Citoyens Vaudreuil Durable 2016 11-24Présentation Comité de Citoyens Vaudreuil Durable 2016 11-24
Présentation Comité de Citoyens Vaudreuil Durable 2016 11-24Lana Pedneault
 
Biblia szkoleń giełdowych
Biblia szkoleń giełdowychBiblia szkoleń giełdowych
Biblia szkoleń giełdowychGieldowy Wizjer
 
Software de trabajo colaborativo en redes
Software de trabajo colaborativo en redesSoftware de trabajo colaborativo en redes
Software de trabajo colaborativo en redesLeslieMorteo
 
Campbell glo call 2013
Campbell glo call 2013Campbell glo call 2013
Campbell glo call 2013David Campbell
 

Destacado (13)

Vocabulary sports
Vocabulary sportsVocabulary sports
Vocabulary sports
 
Cognito crm &amp; marketing automation
Cognito crm &amp; marketing automation Cognito crm &amp; marketing automation
Cognito crm &amp; marketing automation
 
Getting Started with Big Data
Getting Started with Big DataGetting Started with Big Data
Getting Started with Big Data
 
Educa play
Educa playEduca play
Educa play
 
World is magnifique magazine Fev March 2014
World is magnifique magazine Fev March 2014World is magnifique magazine Fev March 2014
World is magnifique magazine Fev March 2014
 
Question 4
Question 4Question 4
Question 4
 
Itc sec1
Itc sec1Itc sec1
Itc sec1
 
Présentation Comité de Citoyens Vaudreuil Durable 2016 11-24
Présentation Comité de Citoyens Vaudreuil Durable 2016 11-24Présentation Comité de Citoyens Vaudreuil Durable 2016 11-24
Présentation Comité de Citoyens Vaudreuil Durable 2016 11-24
 
Biblia szkoleń giełdowych
Biblia szkoleń giełdowychBiblia szkoleń giełdowych
Biblia szkoleń giełdowych
 
Short break ppt new
Short break ppt newShort break ppt new
Short break ppt new
 
Software de trabajo colaborativo en redes
Software de trabajo colaborativo en redesSoftware de trabajo colaborativo en redes
Software de trabajo colaborativo en redes
 
Campbell glo call 2013
Campbell glo call 2013Campbell glo call 2013
Campbell glo call 2013
 
baocao1
baocao1baocao1
baocao1
 

Más de shanmukha rao dondapati

CLINICAL DATA MANAGEMENT SAS CDM Online Learning
CLINICAL DATA MANAGEMENT SAS CDM Online LearningCLINICAL DATA MANAGEMENT SAS CDM Online Learning
CLINICAL DATA MANAGEMENT SAS CDM Online Learningshanmukha rao dondapati
 
Datastage Online Training @ Adithya Elearning
Datastage Online Training @ Adithya ElearningDatastage Online Training @ Adithya Elearning
Datastage Online Training @ Adithya Elearningshanmukha rao dondapati
 
Core Java Online Training @ Adithya Elearning
Core Java Online Training @ Adithya ElearningCore Java Online Training @ Adithya Elearning
Core Java Online Training @ Adithya Elearningshanmukha rao dondapati
 
Cognos tm1 Online Training @ Adithya Elearning
Cognos tm1 Online Training @ Adithya ElearningCognos tm1 Online Training @ Adithya Elearning
Cognos tm1 Online Training @ Adithya Elearningshanmukha rao dondapati
 
Cognos Online Training @ Adithya Elearning
Cognos Online Training @ Adithya ElearningCognos Online Training @ Adithya Elearning
Cognos Online Training @ Adithya Elearningshanmukha rao dondapati
 
CBAP CCBS Online Training @ Adithya Elearning
CBAP CCBS Online Training @ Adithya ElearningCBAP CCBS Online Training @ Adithya Elearning
CBAP CCBS Online Training @ Adithya Elearningshanmukha rao dondapati
 

Más de shanmukha rao dondapati (7)

CLINICAL DATA MANAGEMENT SAS CDM Online Learning
CLINICAL DATA MANAGEMENT SAS CDM Online LearningCLINICAL DATA MANAGEMENT SAS CDM Online Learning
CLINICAL DATA MANAGEMENT SAS CDM Online Learning
 
Datastage Online Training @ Adithya Elearning
Datastage Online Training @ Adithya ElearningDatastage Online Training @ Adithya Elearning
Datastage Online Training @ Adithya Elearning
 
Core Java Online Training @ Adithya Elearning
Core Java Online Training @ Adithya ElearningCore Java Online Training @ Adithya Elearning
Core Java Online Training @ Adithya Elearning
 
Cognos tm1 Online Training @ Adithya Elearning
Cognos tm1 Online Training @ Adithya ElearningCognos tm1 Online Training @ Adithya Elearning
Cognos tm1 Online Training @ Adithya Elearning
 
Cognos Online Training @ Adithya Elearning
Cognos Online Training @ Adithya ElearningCognos Online Training @ Adithya Elearning
Cognos Online Training @ Adithya Elearning
 
CBAP CCBS Online Training @ Adithya Elearning
CBAP CCBS Online Training @ Adithya ElearningCBAP CCBS Online Training @ Adithya Elearning
CBAP CCBS Online Training @ Adithya Elearning
 
Sap basis slide . pp
Sap basis slide . ppSap basis slide . pp
Sap basis slide . pp
 

Último

Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesShubhangi Sonawane
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfChris Hunter
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...christianmathematics
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701bronxfugly43
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxVishalSingh1417
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Shubhangi Sonawane
 

Último (20)

INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural ResourcesEnergy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
Energy Resources. ( B. Pharmacy, 1st Year, Sem-II) Natural Resources
 
Making and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdfMaking and Justifying Mathematical Decisions.pdf
Making and Justifying Mathematical Decisions.pdf
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
Ecological Succession. ( ECOSYSTEM, B. Pharmacy, 1st Year, Sem-II, Environmen...
 

Hibernate Online Training @ Adithya Elearning

  • 1. 1. Hibernate Overview  The Issues with Persistence Layers  Issues with JDBC Alone  Hibernate Environments  Hibernate Architecture  Hibernate Overview  Hibernate Benefits  Object-Relational Mapping (ORM) Issues  More Detailed Architecture 2. Using Hibernate  The Configuration Class  The SessionFactory Interface  Configuring Hibernate  hibernate.cfg.xml Elements  SessionFactory API  SessionFactory Configuration  The Session Interface  Sessions and Transactions  SessionFactory Configuration Properties  Acquiring Hibernate  Using Hibernate 3. Mapping a Simple Class  The Hibernate Mapping File  The <hibernate-mapping> Element  The <class> Element  The EVENTS Table  Persistent Entity Classes  Persistent Classes
  • 2.  Hibernate Mapping Types  Common Hibernate Type Mappings  Filed Access or Property Access  Mapping the id Property with <id>  More About Primary Keys  Generating the id Value  Hibernate Sessions  The Session Interface  The Event Class  The id Property  Mapping Properties with <property>  The Mapping File  Retrieving Persistent Objects 4. Logging  Hibernate log4j.properties File  The log4j.properties File  Modifying log4j.properties for Hibernate  Hibernate Logging Categories  Hibernate.show_sql  Apache Log4J 5. Appendix - Log4J  Apache Log4J  Appenders  Aprender Additivity  Layout  log4j Loggers  Logger Hierarchy  PatternLayout  Multiple Layouts
  • 3.  Logger Levels  log4j Configuration File  Some log4j Appenders 6. Inserting and Updating  Inserting Instances  Deleting an Instance  Modifying a Persistent Instance 7. Querying and Hibernate Query Language (HQL)  Hibernate Query Language  HQL Operators and Expressions  Query Parameters  Using Query Parameters  Aggregate Functions  HQL Basics  Executing a Query  Projection Queries  Projection Queries Returning Tuples  Other Common Query Methods  Where Clause/Restriction  Named Queries  Additional Query Capabilities 8. Transaction Definition  Transactions Modularize Systems  Transaction Lifecycle  Transactions Clarify Systems
  • 4. 9. Hibernate and Transactions  Hibernate and Transactions  Working with Transactions  Working in a Managed Environment  The Hibernate Transaction API  Hibernate Transaction Demarcation 10. The Persistence Lifecycle  Session/Persistence Context Lifespan  Session-per-Request  Hibernate Object States  Transient and Persistent State  Detached and Removed State  What is the - Current Context  Contextual Session Scope  The Persistence Context as Cache  Using Contextual Sessions  Synchronization to the Database  Hibernate Object States and Transitions  The Persistence Context  Session Propagation  First - Acquiring a SessionFactory Instance  Contextual Session  Persistence Context and Object Identity  Yes, It’s Complicated  Flushing the Session 11. Versioning and Optimistic Locking  Version Property in Java Class  Version Element in Mapping File
  • 5.  Automatic Version Maintenance  Locking Objects  Lock Modes  Updating a Detached Instance  session.saveorupdate()  Detached Objects and Optimistic Locking  Using a Detached Instance  Optimistic Locking and Versioning  The unsaved-value Attribute 12. Relationships Overview  Characteristics of Relationships  Directionality  Object Relationships  Characteristics of Relationships 13. Collections of Value Objects  Mapping the Set of Values  Using a Set of Values  Collections of Values  Mapping a List of Values  Sorted and Ordered Collections  Modeling a List of Values  Mapping Collections of Components  Collections of Components  Modeling a Set of Values  Using the Java Collection Types  More on the Java Collection Type 14. Mapping Entity Relationships  Bidirectional One-To-Many Relationship
  • 6.  Defining the One-To-Many Relationship  Mapping the One-To-Many Relationship  Transitive Persistence  The Cascade Attribute  Cascade Choices  Choosing Cascade Options  Mapping a One-To-One Relationship  Many-To-Many Relationship  Defining Many-To-Many Relationship  More on the Inverse Side  Unidirectional Many-To-One Relationship  Mapping Many-To-Many Relationship  Lazy and Eager Loading  Queries Across Relationships  OUTER and FETCH JOIN  The Table Structure - Many-To-One  Mapping the Relationship  Using the Relationship  Cascading Operations  Bidirectional One-To-One Relationship 15. Mapping Inheritance  Inheritance  Class Definitions for Single-Table  Bulk Update and Delete  Executing Bulk Operations  Mapping for Single-Table  Table per Concrete Class  Projection Queries  Aggregate Queries  Single-Table: Pros and Cons
  • 7.  Native SQL Queries  Refining SQL Queries  Retrieving Entities with SQL Queries  Entity Inheritance  Details of Entity Inheritance  Single-Table Strategy  Table per Subclass (Joined Subclass)  Mapping for Table per Subclass  Joined: Pros and Cons 16. Filters  Using a Filter  Collection Filters  Mapping a Filter to a Set  Hibernate Filters  Defining and Attaching Filters 17. Criteria  Eager Fetching  Restrictions - Narrowing the Result Set  Restrictions Methods  Navigating Associations  Query by Example  Refining the Example  Additional Capabilities 18. JPA Overview  Hibernate and JPA  Java Persistence Environments  Java Persistence API Overview 19. Mapping a Simple Class
  • 8.  The Event Class  The id Property  Basic Mapping Types  Mapping Properties  The Entity Declaration  Entity Classes  Event Entity Mapped with JPA 20. Entity Manager and Persistence Context  Acquiring an EntityManager  Working with Transactions  The Entity Manager & Persistence Context  Persistence Unit  Retrieving Persistent Objects  persistence.xml 21. Inserts and Queries  Persisting a New Entity  Executing a Query  Versioned Class and Detached Objects  WHERE Clause and Query Parameters  Named Queries  Java Persistence Query Language  Version Property in Java Class 22. Relationships  Inheritance  JPA Support for Relationships  Entity Definitions for Single-Table  Entity Definitions for Joined  Mapping the Many-To-One Relationship
  • 9.  Mapping the One-To-Many Relationship  Loading and Cascading  Queries Across Relationships 23. Components and Multi-Table Mapping  Component Overview  Multi-Table Mapping  Mapping a Component 24. equals() and hashCode()  Defining equals() and hashCode()  Redefining equals() 25. Caching  Second-Level Cache  Configuring Caching  Concurrency Strategies  Managing the Caches  Data Appropriate for Caching  Cache Providers 26. Design Considerations  Beware of N+1 Select Issue  Long Conversations  Data Access Object (DAO)  Open Session in View Pattern  Query Efficiency Techniques  Session-per-Conversation  Problems with Web Applications  Prefetching Data in Batches 27. Hibernate Toolset
  • 10.  Hibernate Tools Overview  Hibernate Console Configuration  Hibernate Console Perspective  HQL Editor  Hibernate Configuration View  Class Diagram  Query Results  Properties View  SQL Preview  Important Note on Versions  Optional - Hibernate Tools  Install Hibernate Tools  Other Capabilities Highlights in Training Process; Conducting demos any time to your convenience. Providing 24/7 Technical support with lab services. Certified Trainers. Easy Payment options. Hands on training for better performance in Real time Environment. We maintain flexible Batch system for your better understanding. Certified Course Content Standard Material, Real time Examples. Completing training in the given Duration. Weekdays and Weekend Batches are available.
  • 11. Contact Information; Skype Id ; adithyaelearning Contact Number ; +91 8790679998 , 9848371343. USA + 001 224 585 7588 Email id ; adithyaelearning@gmail.com, info@adithyaelearning.com Website ; www.adithyaelearning.com