Hibernate程序高手秘笈(影印版)
作者:(美)埃利奥特(Elliott,J.) 著
出版:东南大学出版社 2005.11
页数:176
定价:32.00 元
ISBN-10:7564101660
ISBN-13:9787564101664
去豆瓣看看 Preface
Chapter 1.Installation and Setup
Getting an Ant Distribution
Getting the HSQLDB Database Engine
Getting Hibemate
Setting Up a Project Hierarchy
Chapter 2.Introduction to Mapping
Writing a Mapping Document
Generating Some Class
Cooking Up a Schema
Connecting Hibernate to MySQL
Chapter 3.Harnessing Hibernate
Creating Persistent Objects
Finding Persistent Objects
Better Ways to Build Queries
Chapter 4.Collections and Associations
Mapping Collections
Persisting Collections
Retrieving Collections
Using Bidirectional Associations
working with Simple Collections
Chapter 5.Richer Associations
Using Lazy Associations
Ordered Collections
Augmenting Associations in Collections
Lifecycle Associations
Reflexive Associations
Chapter 6.Persistennt Enumerated Types
Defining a Persistent Enumerated Type
Working with Persistent Enumerations
Chapter 7.Custom Value Types
Defining a User Type
Using a custom Type Mapping
Building a Composite User Type
Chapter 8.Criteria Queries
Using Simple Criteria
Compounding Criteria
Applying Criteria to Associations
Querying by Example
Chapter 9.A Look at HQL
Writing HQL Queries
Selecting Properties and Pieces
Sorting
Working with Aggregate Values
Writing Native SQL Queries
Appendix A.Hibernate Types
Appendix B.Standard Criteria
Appendix C.Hibernate SQL Dialects
Index
James Elliott is a senion software engineer at Berbee,with over 15 years of professional experience as a systems developer.A decade before that career,he cultivated his involvement and fascination with computers,and started designing with objects well before his work environments made it convenient.He has a passion for building high-quality tools and frameworks to simplify the tasks of other developers,and loves how using java effectively can help in that effort.
你是否喜爱编写软件程序,但却讨厌数据库编码?《Hibernate程序高手秘笈(影印版)》正是你所需要的。数据库专家或许喜欢摆弄SQL,但你不必,应用程序的其余部分才是真正有趣的部分。并且,数据库专家甚至担心单调乏味的应用需要把它们的SQL放入一个Java程序。本书展示了如何用Hibernate来自动化配置:写一些Java对象和简单的配置文件,Hibernate将使这些对象和数据库间的所有交互自动化。你甚至不必知道数据库在哪,并且,通过更改一个配置文件中的几个语句,就能简单的从一个数据库切换到另一个数据库。
《Hibernate程序高手秘笈(影印版)》带你遍历Hibernate的使用,从安装和配置到复杂的关联和复合类型。书中有两章探究如何实现复杂的查询:通过一个纯的Java API,或者用一个SQL激发的但是面向对象的查询语言来表达。使用Hibernate的惊喜之一是:对于许多常见的真实世界的应用场景,根本不需要一个精确的查询,但别因为这给你带来困惑。如果你已意图给自己的应用加个数据库,不要拖延,这比过去的更有趣,本书会告诉你为什么。
比价列表