logo资料库

Java开源项目中文文档(Spring、Mybatis、Velocity...).pdf

第1页 / 共1183页
第2页 / 共1183页
第3页 / 共1183页
第4页 / 共1183页
第5页 / 共1183页
第6页 / 共1183页
第7页 / 共1183页
第8页 / 共1183页
资料共1183页,剩余部分请下载后查看
http://showmecode.cn/links/book
Java 项 http://showmecode.cn/links/book Spring 3.1 Spring framework 1 Spring Framework 绍 1.1 赖转 1.2 块 1.3 Spring 3 2 Spring 3.0 2.1 Java 5 2.2 进 2.3 2.4 块组织统构 2.5 3 Spring 3.1 3.1 术 4 IoC 4.1 Spring IoC bean 绍 4.2 4.3 Bean 4.4 赖 4.5 Bean 围 4.6 义 bean 质 4.7 Bean 义继 4.8 扩 4.9 4.10 类扫组 4.11 JSR 330 标 4.12 Java Hibernate 3.2 1. 译说 2. 权 1 Hibernate门 0 1 1.1 1.2 1.2.1 1.2.2 1.2.3 1.3 1.4 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.5 1.5.1 1.6 1.7 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 1.7.6 1.7.7 1.7.8 1.7.9 1.7.10 1.7.11 1.7.12 2 2.1 2.1.1 2.1.2 2.2 2
Java 项 http://showmecode.cn/links/book 1.1. 1.2. Hibernate应 1.2.1. class 1.2.2. 1.2.3. Hibernate 1.2.4. Ant构 1.2.5. 启动辅类 1.2.6. 载储对 1.3. 联 1.3.1. Person类 1.3.2. 单Set-based联 1.3.3. 联 1.3.4. 值类 1.3.5. 联 1.3.6. 连 1.4. - EventManager web应 1.4.1. 编servlet 1.4.2. 处 1.4.3. 测试 1.5. 总结 2 结构(Architecture) 2.1. (Overview) 2.2. 实态 2.3. JMX 2.4. 对JCA 2.5. ContextualSession 3 3.1. 编 3.2. 获SessionFactory 3.3. JDBC连 3.4. 选 3.4.1. SQL 3.4.2. 连(Outer Join Fetching) 3.4.3. 进 (Binary Streams) 3.4.4. 级缓查询缓 3.4.5. 查询语换 3.4.6. Hibernate统计(statistics) 3.5. 3.6. 实现`NamingStrategy` 2.2.1 2.2.2 2.2.2.1 2.2.2.2 2.2.2.3 2.2.2.4 2.2.2.5 2.2.2.6 2.2.3 2.2.3.1 2.2.3.2 2.2.3.3 2.2.3.4 2.2.3.5 2.2.3.6 2.2.4 2.2.4.1 2.2.4.2 2.2.4.3 2.2.5 2.3 2.3.1 2.3.2 2.3.3 2.3.4 2.3.5 2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.4.1 2.4.4.2 2.4.4.3 2.4.4.4 2.4.4.5 2.4.4.6 2.4.5 2.4.6 3
Java 项 http://showmecode.cn/links/book 3.7. XML 3.8. J2EE应务 2.4.7 2.4.8 3.8.1. 务 2.4.8.1 3.8.2. JNDI绑`SessionFactory` 2.4.8.2 3.8.3. JTA环Current Session context (session ) 2.4.8.3 2.4.8.4 3.8.4. JMX 2.5 2.5.1 4.1.1. 实现认构constructor 2.5.1.1 4.1.2. 标识identifier property选 2.5.1.2 4.1.3. final类 (选) 2.5.1.3 4.1.4. 为访问(accessors)变标 (mutators)(选) 4 类(Persistent Classes) 4.1. 简单POJO 4.2. 实现继Inheritance 4.3. 实现`equals()``hashCode()` 4.4. 动态(Dynamic models) 4.5. 组(Tuplizers) 5 对/库础(Basic O/R Mapping) 5.1. 义Mapping declaration 5.1.1. Doctype 5.1.1.1. EntityResolver 5.1.2. hibernate-mapping 5.1.3. class 5.1.4. id 5.1.4.1. Generator 5.1.4.2. /Hi/Lo Algorithm 5.1.4.3. UUIDUUID Algorithm 5.1.4.4. 标识Identity columns and Sequences 5.1.4.5. 标识Assigned Identifiers 5.1.4.6. 发实现键Primary keys assigned by triggers 5.1.5. composite-id 5.1.6. 鉴别discriminator 5.1.7. version(选) 5.1.8. timestamp (选) 5.1.9. property 5.1.10. 对many-to-one 5.1.11. 对 2.6.1.9 2.6.1.10 2.6.1.11 2.6.1.12 2.6.1.13 2.6.1.14 2.6.1.15 2.6.1.16 2.6.1.17 2.6.1.18 2.5.1.4 2.5.2 2.5.3 2.5.4 2.5.5 2.6 2.6.1 2.6.1.1 2.6.1.2 2.6.1.3 2.6.1.4 2.6.1.5 2.6.1.6 2.6.1.7 2.6.1.8 4
Java 项 http://showmecode.cn/links/book 5.2. Hibernate 类 2.6.1.21 5.1.12. ID(natural-id) 5.1.13. 组(component), 动态组(dynamic-component) 5.1.14. properties 5.1.15. 类(subclass) 5.1.16. 连类(joined-subclass) 5.1.17. 联类(union-subclass) 5.1.18. 连(join) 5.1.19. 键(key) 5.1.20. 规则column and formula elements 5.1.21. (import) 5.1.22. any 2.6.1.28 2.6.1.19 2.6.1.20 2.6.1.22 2.6.1.23 2.6.1.24 2.6.1.25 2.6.1.26 5.3. 类 5.4. SQL围标识 5.5. (Metadata) 5.6. 库Generated Properties 5.7. 辅库对(Auxiliary Database Objects) 5.2.1. 实(Entities)值(values) 5.2.2. 值类 5.2.3. 义值类 2.6.1.27 2.6.1.29 2.6.2 2.6.2.1 2.6.2.2 2.6.2.3 2.6.3 2.6.4 2.6.5 2.6.5.1 2.6.5.2 2.6.6 2.6.7 2.7 2.7.1 2.7.2 6.2.1. 键(Collection foreign keys) 2.7.2.1 6.2.2. Collection elements 2.7.2.2 6.2.3. 类(Indexed collections) 2.7.2.3 6.2.4. 值对联(Collections of values and many-to- many associations) 2.7.2.4 2.7.2.5 6.2.5. 对联One-to-many Associations 6.3. 级Advanced collection mappings 2.7.3 2.7.3.1 2.7.3.2 2.7.3.3 2.7.3.4 2.7.3.5 2.7.4 2.8 6.3.1. Sorted collections 6.3.2. 联Bidirectional associations 6.3.3. 联类 6.3.4. 联Ternary associations 6.3.5. `<idbag>` 6.1. 类(Persistent collections) 6.2. Collection mappings 5.5.1. XDoclet 标记 5.5.2. JDK 5.0 (Annotation) 6 类(Collections) 6.4. Collection example 7 联 5
Java 项 http://showmecode.cn/links/book 7.1. 绍 7.2. 单联Unidirectional associations 7.2.1. 对(many to one) 7.2.2. 对one to one 7.2.3. 对one to many 2.8.1 2.8.2 2.8.2.1 2.8.2.2 2.8.2.3 7.3. 连单联Unidirectional associations with join tables 7.3.1. 对(one to many) 7.3.2. 对many to one 7.3.3. 对one to one 7.3.4. 对many to many 7.4. 联Bidirectional associations 7.4.1. 对one to many) / 对many to one 7.4.2. 对one to one 7.5. 连联Bidirectional associations with join tables 2.8.5 7.5.1. 对one to many /对 many to one 2.8.5.2 7.5.2. 对one to one 7.5.3. 对many to many 7.6. 杂联 8 组Component 8.1. 赖对Dependent objects 8.2. 现赖对 (Collections of dependent objects) 8.3. 组为MapComponents as Map indices 8.4. 组为联标识(Components as composite identifiers) 8.5. 动态组 Dynamic components 2.8.3 2.8.3.1 2.8.3.2 2.8.3.3 2.8.3.4 2.8.4 2.8.4.1 2.8.4.2 2.8.5.1 2.8.5.3 2.8.6 2.9 2.9.1 2.9.2 2.9.3 2.9.4 2.9.5 2.10 2.10.1 2.10.1.1 2.10.1.3 2.10.1.4 2.10.1.5 2.10.1.6 2.10.1.7 2.10.2 2.11 6 9 继(Inheritance Mappings) 9.1. 9.1.1. 类层结构张(Table per class hierarchy) 9.1.2. 类张(Table per subclass) 2.10.1.2 9.1.3. 类张(Table per subclass)别标 (Discriminator) 9.1.4. “类层结构张”“类张” 9.1.5. 类张(Table per concrete class) 9.1.6. Table per concrete class, using implicit polymorphism 9.1.7. 隐态继 9.2. 10 对
Java 项 http://showmecode.cn/links/book 10.1. Hibernate对态(object states) 10.2. 对 10.3. 载对 10.4. 查询 10.5. 对 10.6. (Detached)对 10.7. 动态检测 10.8. 删对 10.9. 两库间对 10.10. Session(flush) 10.11. 传(transitive persistence) 10.12. 10.4.1. 执查询 10.4.1.1. 获结(Iterating results) 10.4.1.2. 组(tuples)查询 10.4.1.3. 标(Scalar)结 10.4.1.4. 绑 10.4.1.5. 页 10.4.1.6. 滚动历(Scrollable iteration) 10.4.1.7. 查询(Externalizing named queries) 10.4.2. 过滤 10.4.3. 查询(Criteria queries) 10.4.4. SQL查询 2.11.1 2.11.2 2.11.3 2.11.4 2.11.4.1 2.11.4.2 2.11.4.3 2.11.4.4 2.11.4.5 2.11.4.6 2.11.4.7 2.11.4.8 2.11.4.9 2.11.4.10 2.11.4.11 2.11.5 2.11.6 2.11.7 2.11.8 2.11.9 2.11.10 2.11.11 2.11.12 2.12 2.12.1 2.12.1.1 2.12.1.2 2.12.1.3 2.12.1.4 2.12.2 2.12.2.1 2.12.2.2 2.12.2.3 2.12.2.4 2.12.3 11.3.1. 应级别检查(Application version checking) 2.12.3.1 11.3.2. 扩session动 11.3.3. 对(deatched object)动 2.12.3.3 2.12.3.4 11.3.4. 动为 11 务发 11.1. Session务围(transaction scope) 11.1.1. 单(Unit of work) 11.1.2. 长对话 11.1.3. 对标识(Considering object identity) 11.1.4. 见问题 11.2. 库务 2.12.3.2 7 11.2.1. 环 11.2.2. JTA 11.2.3. 处 11.2.4. 务时 11.3. 乐观发(Optimistic concurrency control)
Java 项 http://showmecode.cn/links/book 11.4. 观锁(Pessimistic Locking) 11.5. 连释(Connection Release Modes) 12 拦(Interceptors and events) 12.1. 拦(Interceptors) 12.2. 统(Event system) 12.3. Hibernate 13 处Batch processing 13.1. Batch inserts 13.2. Batch updates 13.3. StatelessSession (态session) 13.4. DML(语)风(DML-style operations) 14 HQL: Hibernate查询语 14.1. 问题 14.2. from 14.3. 联(Association)连(Join) 14.4. join 语 14.5. select 14.6. 14.7. 态查询 14.8. where 14.9. 达 14.10. order by 14.11. group by 14.12. 查询 14.13. HQL 14.14. UPDATEDELETE 14.15. & 窍门 15 查询(Criteria Queries) 15.1. 创`Criteria` 实 15.2. 结 15.3. 结 15.4. 联 15.5. 动态联 15.6. 查询 15.7. (Projections)aggregation组grouping 15.8. 线(detached)查询查询 15.9. 标识查询(Queries by natural identifier) 2.16.8 16 Native SQL查询 16.1. `SQLQuery` 2.12.4 2.12.5 2.13 2.13.1 2.13.2 2.13.3 2.14 2.14.1 2.14.2 2.14.3 2.14.4 2.15 2.15.1 2.15.2 2.15.3 2.15.4 2.15.5 2.15.6 2.15.7 2.15.8 2.15.9 2.15.10 2.15.11 2.15.12 2.15.13 2.15.14 2.15.15 2.16 2.16.1 2.16.2 2.16.3 2.16.4 2.16.5 2.16.6 2.16.7 2.16.9 2.17 2.17.1 8
分享到:
收藏