Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
5Activity
0 of .
Results for:
No results containing your search query
P. 1
Hibernate Reference 1

Hibernate Reference 1

Ratings: (0)|Views: 80 |Likes:
Published by Gopinath

More info:

Published by: Gopinath on Oct 25, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

11/19/2014

pdf

text

original

 
HIBERNATE - RelationalPersistence for Idiomatic Java
1
Hibernate ReferenceDocumentation
3.3.2.GA
by Gavin King, Christian Bauer, Max Rydahl Andersen, Emmanuel Bernard, and Steve Ebersoleand thanks to James Cobb (Graphic Design) and Cheyenne Weaver (Graphic Design)
 
iiiPreface ............................................................................................................................. xi1. Feedback ............................................................................................................. xii
1. Tutorial
........................................................................................................................ 11.1. Part 1 - The first Hibernate Application ................................................................ 11.1.1. Setup ...................................................................................................... 11.1.2. The first class .......................................................................................... 31.1.3. The mapping file ...................................................................................... 41.1.4. Hibernate configuration ............................................................................. 71.1.5. Building with Maven ................................................................................. 91.1.6. Startupand helpers................................................................................ 101.1.7. Loading and storing objects .................................................................... 111.2. Part 2 - Mapping associations ........................................................................... 141.2.1. Mapping the Person class ...................................................................... 141.2.2. A unidirectional Set-based association ..................................................... 161.2.3. Working the association .......................................................................... 171.2.4. Collection ofvalues ................................................................................ 191.2.5. Bi-directional associations ....................................................................... 211.2.6. Working bi-directional links ..................................................................... 221.3. Part 3 - The EventManager web application ....................................................... 231.3.1. Writingthe basic servlet ......................................................................... 231.3.2. Processing and rendering ....................................................................... 241.3.3. Deploying and testing ............................................................................. 261.4. Summary .......................................................................................................... 27
2. Architecture
............................................................................................................... 292.1. Overview .......................................................................................................... 292.2. Instance states ................................................................................................. 302.3. JMX Integration ................................................................................................ 312.4. JCA Support ..................................................................................................... 312.5. Contextual sessions.......................................................................................... 31
3. Configuration
............................................................................................................. 333.1. Programmatic configuration ............................................................................... 333.2. Obtaining a SessionFactory ............................................................................... 343.3. JDBC connections ............................................................................................ 343.4. Optional configuration properties ........................................................................ 363.4.1. SQL Dialects .......................................................................................... 433.4.2. Outer Join Fetching ................................................................................ 443.4.3. Binary Streams ...................................................................................... 443.4.4. Second-level and query cache ................................................................ 443.4.5. Query Language Substitution .................................................................. 443.4.6. Hibernate statistics ................................................................................. 443.5. Logging ............................................................................................................ 453.6. Implementing a
NamingStrategy
....................................................................... 453.7. XML configuration file ........................................................................................ 463.8. J2EE Application Server integration ................................................................... 47

Activity (5)

You've already reviewed this. Edit your review.
1 thousand reads
1 hundred reads
JAGADEESHT liked this
sethupathimca liked this
kotha.sreekanth liked this

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->