正在加载图片...
CONTENTS 7.5 Advanced query techniques 276 Dynamic queries 276.Collection filters 279 Subqueries 281.Native SOL queries 283 7.6 Optimizing object retrieval 286 Solving the n+1 selects problem 286Using iterate0 queries 289.Caching queries 290 7.7 Summary 292 Writing Hibernate applications 294 8.1 Designing layered applications 295 Using Hibernate in a servlet engine 296 Using Hibernate in an EIB container 311 8.2 Implementing application transactions 320 Choosing an approach to application transactions 329 8.3 Handling special kinds of data 330 Legacy schemas and composite keys 330.Audit logging 340 8.4 Summary 347 Using the toolset 348 9.1 Development processes 349 Top down 350.Bottom up 350.Middle out (metadata oriented)350.Meet in the middle 350 Roundtripping 351 9.2 Automatic schema generation 351 Preparing the mapping metadata 352.Creating the schema 355.Updating the schema 357 9.3 Generating POJO code 358 Adding meta-attributes 358.Generating finders 360 Configuring hbm2java 362.Running hbm2java 363 9.4 Existing schemas and Middlegen 364 Starting Middlegen 364.Restricting tables and relationships 366.Customizing the metadata generation 368 Generating hbm2java and XDoclet metadata 370CONTENTS ix 7.5 Advanced query techniques 276 Dynamic queries 276 ■ Collection filters 279 Subqueries 281 ■ Native SQL queries 283 7.6 Optimizing object retrieval 286 Solving the n+1 selects problem 286 ■ Using iterate() queries 289 ■ Caching queries 290 7.7 Summary 292 8 Writing Hibernate applications 294 8.1 Designing layered applications 295 Using Hibernate in a servlet engine 296 Using Hibernate in an EJB container 311 8.2 Implementing application transactions 320 Approving a new auction 321 ■ Doing it the hard way 322 Using detached persistent objects 324 ■ Using a long session 325 Choosing an approach to application transactions 329 8.3 Handling special kinds of data 330 Legacy schemas and composite keys 330 ■ Audit logging 340 8.4 Summary 347 9 Using the toolset 348 9.1 Development processes 349 Top down 350 ■ Bottom up 350 ■ Middle out (metadata oriented) 350 ■ Meet in the middle 350 Roundtripping 351 9.2 Automatic schema generation 351 Preparing the mapping metadata 352 ■ Creating the schema 355 ■ Updating the schema 357 9.3 Generating POJO code 358 Adding meta-attributes 358 ■ Generating finders 360 Configuring hbm2java 362 ■ Running hbm2java 363 9.4 Existing schemas and Middlegen 364 Starting Middlegen 364 ■ Restricting tables and relationships 366 ■ Customizing the metadata generation 368 Generating hbm2java and XDoclet metadata 370 Licensed to Jose Carlos Romero Figueroa <jose.romero@galicia.seresco.es>
<<向上翻页向下翻页>>
©2008-现在 cucdc.com 高等教育资讯网 版权所有