new docbook layout (prep for translations migration to PO)

git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@14081 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
Steve Ebersole 2007-10-09 20:10:34 +00:00
parent a4cce4c205
commit 8d12b2e61f
52 changed files with 226 additions and 602 deletions

View File

@ -0,0 +1,72 @@
<?xml version='1.0' encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY versionNumber "3.3.0.alpha1">
<!ENTITY copyrightYear "2004">
<!ENTITY copyrightHolder "Red Hat Middleware, LLC.">
]>
<book>
<bookinfo>
<title>HIBERNATE - 符合Java习惯的关系数据库持久化</title>
<subtitle>Hibernate参考文档</subtitle>
<releaseinfo>&versionNumber;</releaseinfo>
<productnumber>&versionNumber;</productnumber>
<issuenum>1</issuenum>
<mediaobject>
<imageobject role="fo">
<imagedata fileref="images/hibernate_logo_a.png" align="center" />
</imageobject>
<imageobject role="html">
<imagedata fileref="images/hibernate_logo_a.png" depth="3cm" />
</imageobject>
</mediaobject>
<copyright>
<year>&copyrightYear;</year>
<holder>&copyrightHolder;</holder>
</copyright>
<xi:include href="translators.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="legal_notice.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</bookinfo>
<toc/>
<xi:include href="content/preface.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/tutorial.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/architecture.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/configuration.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/persistent_classes.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/basic_mapping.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/collection_mapping.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/association_mapping.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/component_mapping.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/inheritance_mapping.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/session_api.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/transactions.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/events.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/batch.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/query_hql.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/query_criteria.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/query_sql.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/filters.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/xml.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/performance.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/toolset_guide.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/example_parentchild.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/example_weblog.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/example_mappings.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
<xi:include href="content/best_practices.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
</book>

View File

@ -0,0 +1,70 @@
<?xml version='1.0' encoding="UTF-8"?>
<!DOCTYPE preface PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<preface id="preface" revision="2">
<title>前言</title>
<para>
在今日的企业环境中把面向对象的软件和关系数据库一起使用可能是相当麻烦、浪费时间的。Hibernate是一个面向Java环境的对象/关系数据库映射工具。对象/关系数据库映射(object/relational mapping (ORM))这个术语表示一种技术用来把对象模型表示的对象映射到基于SQL的关系模型数据结构中去。
</para>
<para>
Hibernate不仅仅管理Java类到数据库表的映射包括Java数据类型到SQL数据类型的映射还提供数据查询和获取数据的方法可以大幅度减少开发时人工使用SQL和JDBC处理数据的时间。
</para>
<para>
Hibernate的目标是对于开发者通常的数据持久化相关的编程任务解放其中的95%。对于以数据为中心的程序来说,它们往往只在数据库中使用存储过程来实现商业逻辑,Hibernate可能不是最好的解决方案;对于那些在基于Java的中间层应用中它们实现面向对象的业务模型和商业逻辑的应用Hibernate是最有用的。不管怎样Hibernate一定可以帮助你消除或者包装那些针对特定厂商的SQL代码并且帮你把结果集从表格式的表示形式转换到一系列的对象去。
</para>
<para>
如果你对Hibernate和对象/关系数据库映射还是个新手或者甚至对Java也不熟悉请按照下面的步骤来学习。
</para>
<orderedlist>
<listitem>
<para>
阅读<xref linkend="tutorial"/>,这是一篇包含详细的逐步指导的指南。本指南的源代码包含在发行包中,你可以在<literal>doc/reference/tutorial/</literal>目录下找到。 </para>
</listitem>
<listitem>
<para>
阅读<xref linkend="architecture"/>来理解Hibernate可以使用的环境。
</para>
</listitem>
<listitem>
<para>
查看Hibernate发行包中的<literal>eg/</literal>目录里面有一个简单的独立运行的程序。把你的JDBC驱动拷贝到<literal>lib/</literal>目录下,修改一下<literal>src/hibernate.properties</literal>,指定其中你的数据库的信息。进入命令行,切换到你的发行包的目录,输入<literal>ant eg</literal>(使用了Ant或者在Windows操作系统中使用<literal>build eg</literal>
</para>
</listitem>
<listitem>
<para>
把这份参考文档作为你学习的主要信息来源。
</para>
</listitem>
<listitem>
<para>
在Hibernate 的网站上可以找到经常提问的问题与解答(FAQ)。
</para>
</listitem>
<listitem>
<para>
在Hibernate网站上还有第三方的演示、示例和教程的链接。
</para>
</listitem>
<listitem>
<para>
Hibernate网站的“社区(Community Area)”是讨论关于设计模式以及很多整合方案(Tomcat, JBoss AS, Struts, EJB,等等)的好地方。
</para>
</listitem>
</orderedlist>
<para>
如果你有问题请使用Hibernate网站上链接的用户论坛。我们也提供一个JIRA问题追踪系统来搜集bug报告和新功能请求。如果你对开发Hibernate有兴趣请加入开发者的邮件列表。Hibernate网站上的用户论坛有一个中文版面JavaEye也有Hibernate中文版面,您可以在那里交流问题与经验。)
</para>
<para>
商业开发、产品支持和Hibernate培训可以通过JBoss Inc.获得。请查阅http://www.hibernate.org/SupportTraining/)。
Hibernate是一个专业的开放源代码项目(Professional Open Source project)也是JBoss Enterprise Middleware System(JEMS),JBoss企业级中间件系统的一个核心组件。
</para>
</preface>

View File

@ -1,3 +1,18 @@
<!--
~ Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved.
~
~ This copyrighted material is made available to anyone wishing to use, modify,
~ copy, or redistribute it subject to the terms and conditions of the GNU
~ Lesser General Public License, v. 2.1. This program is distributed in the
~ hope that it will be useful, but WITHOUT A WARRANTY; without even the implied
~ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
~ Lesser General Public License for more details. You should have received a
~ copy of the GNU Lesser General Public License, v.2.1 along with this
~ distribution; if not, write to the Free Software Foundation, Inc.,
~ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
~
~ Red Hat Author(s): Steve Ebersole
-->
<chapter id="xml">
<title>XML映射</title>
<para><emphasis>

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.7 KiB

View File

Before

Width:  |  Height:  |  Size: 8.5 KiB

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

View File

Before

Width:  |  Height:  |  Size: 6.5 KiB

After

Width:  |  Height:  |  Size: 6.5 KiB

View File

@ -0,0 +1,52 @@
<?xml version='1.0' encoding="UTF-8"?>
<!DOCTYPE legalnotice PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<!--
~ Copyright (c) 2007, Red Hat Middleware, LLC. All rights reserved.
~
~ This copyrighted material is made available to anyone wishing to use, modify,
~ copy, or redistribute it subject to the terms and conditions of the GNU
~ Lesser General Public License, v. 2.1. This program is distributed in the
~ hope that it will be useful, but WITHOUT A WARRANTY; without even the implied
~ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
~ Lesser General Public License for more details. You should have received a
~ copy of the GNU Lesser General Public License, v.2.1 along with this
~ distribution; if not, write to the Free Software Foundation, Inc.,
~ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
~
~ Red Hat Author(s): Steve Ebersole
-->
<legalnotice id="Legal_Notice">
<title>Legal Notice</title>
<para>
<address>
<street>1801 Varsity Drive</street>
<city>Raleigh</city>, <state>NC</state><postcode>27606-2072</postcode><country>USA</country>
<phone>Phone: +1 919 754 3700</phone>
<phone>Phone: 888 733 4281</phone>
<fax>Fax: +1 919 754 3701</fax>
<pob>PO Box 13588</pob><city>Research Triangle Park</city>, <state>NC</state><postcode>27709</postcode><country>USA</country>
</address>
</para>
<para>
Copyright <trademark class="copyright"></trademark> 2007 by Red Hat, Inc. This material may be distributed only subject to the terms and conditions set forth in the Open Publication License, V1.0 or later (the latest version is presently available at <ulink url="http://www.opencontent.org/openpub/">http://www.opencontent.org/openpub/</ulink>).
</para>
<para>
Distribution of substantively modified versions of this document is prohibited without the explicit permission of the copyright holder.
</para>
<para>
Distribution of the work or derivative of the work in any standard (paper) book form for commercial purposes is prohibited unless prior permission is obtained from the copyright holder.
</para>
<para>
Red Hat and the Red Hat "Shadow Man" logo are registered trademarks of Red Hat, Inc. in the United States and other countries.
</para>
<para>
All other trademarks referenced herein are the property of their respective owners.
</para>
<para>
The GPG fingerprint of the security@redhat.com key is:
</para>
<para>
CA 20 86 86 2B D6 9D FC 65 F6 EC C4 21 91 80 CD DB 42 A6 0E
</para>
</legalnotice>

View File

@ -1,474 +0,0 @@
<?xml version='1.0' encoding="UTF-8"?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.3CR3//EN"
"../support/docbook-dtd/docbookx.dtd"
[
<!ENTITY tutorial SYSTEM "modules/tutorial.xml">
<!ENTITY architecture SYSTEM "modules/architecture.xml">
<!ENTITY configuration SYSTEM "modules/configuration.xml">
<!ENTITY persistent-classes SYSTEM "modules/persistent_classes.xml">
<!ENTITY basic-mapping SYSTEM "modules/basic_mapping.xml">
<!ENTITY collection-mapping SYSTEM "modules/collection_mapping.xml">
<!ENTITY association-mapping SYSTEM "modules/association_mapping.xml">
<!ENTITY component-mapping SYSTEM "modules/component_mapping.xml">
<!ENTITY inheritance-mapping SYSTEM "modules/inheritance_mapping.xml">
<!ENTITY session-api SYSTEM "modules/session_api.xml">
<!ENTITY transactions SYSTEM "modules/transactions.xml">
<!ENTITY events SYSTEM "modules/events.xml">
<!ENTITY batch SYSTEM "modules/batch.xml">
<!ENTITY query-hql SYSTEM "modules/query_hql.xml">
<!ENTITY query-criteria SYSTEM "modules/query_criteria.xml">
<!ENTITY query-sql SYSTEM "modules/query_sql.xml">
<!ENTITY filters SYSTEM "modules/filters.xml">
<!ENTITY xml SYSTEM "modules/xml.xml">
<!ENTITY performance SYSTEM "modules/performance.xml">
<!ENTITY toolset-guide SYSTEM "modules/toolset_guide.xml">
<!ENTITY example-parentchild SYSTEM "modules/example_parentchild.xml">
<!ENTITY example-weblog SYSTEM "modules/example_weblog.xml">
<!ENTITY example-mappings SYSTEM "modules/example_mappings.xml">
<!ENTITY best-practices SYSTEM "modules/best_practices.xml">
]>
<book lang="zh-cn">
<bookinfo>
<title>HIBERNATE - 符合Java习惯的关系数据库持久化</title>
<subtitle>Hibernate参考文档</subtitle>
<releaseinfo>3.2</releaseinfo>
</bookinfo>
<toc/>
<preface id="preface" revision="2">
<title>前言</title>
<para>
WARNING! This is a translated version of the English Hibernate reference
documentation. The translated version might not be up to date! However, the
differences should only be very minor. Consult the English reference
documentation if you are missing information or encounter a translation
error. If you like to contribute to a particular translation, contact us
on the Hibernate developer mailing list.
</para>
<para>
Translator(s): RedSaga Translate Team 满江红翻译团队 &lt;caoxg@yahoo.com&gt;
</para>
<para>
在今日的企业环境中把面向对象的软件和关系数据库一起使用可能是相当麻烦、浪费时间的。Hibernate是一个面向Java环境的对象/关系数据库映射工具。对象/关系数据库映射(object/relational mapping (ORM))这个术语表示一种技术用来把对象模型表示的对象映射到基于SQL的关系模型数据结构中去。
</para>
<para>
Hibernate不仅仅管理Java类到数据库表的映射包括Java数据类型到SQL数据类型的映射还提供数据查询和获取数据的方法可以大幅度减少开发时人工使用SQL和JDBC处理数据的时间。
</para>
<para>
Hibernate的目标是对于开发者通常的数据持久化相关的编程任务解放其中的95%。对于以数据为中心的程序来说,它们往往只在数据库中使用存储过程来实现商业逻辑,Hibernate可能不是最好的解决方案;对于那些在基于Java的中间层应用中它们实现面向对象的业务模型和商业逻辑的应用Hibernate是最有用的。不管怎样Hibernate一定可以帮助你消除或者包装那些针对特定厂商的SQL代码并且帮你把结果集从表格式的表示形式转换到一系列的对象去。
</para>
<para>
如果你对Hibernate和对象/关系数据库映射还是个新手或者甚至对Java也不熟悉请按照下面的步骤来学习。
</para>
<orderedlist>
<listitem>
<para>
阅读<xref linkend="tutorial"/>,这是一篇包含详细的逐步指导的指南。本指南的源代码包含在发行包中,你可以在<literal>doc/reference/tutorial/</literal>目录下找到。 </para>
</listitem>
<listitem>
<para>
阅读<xref linkend="architecture"/>来理解Hibernate可以使用的环境。
</para>
</listitem>
<listitem>
<para>
查看Hibernate发行包中的<literal>eg/</literal>目录里面有一个简单的独立运行的程序。把你的JDBC驱动拷贝到<literal>lib/</literal>目录下,修改一下<literal>src/hibernate.properties</literal>,指定其中你的数据库的信息。进入命令行,切换到你的发行包的目录,输入<literal>ant eg</literal>(使用了Ant或者在Windows操作系统中使用<literal>build eg</literal>
</para>
</listitem>
<listitem>
<para>
把这份参考文档作为你学习的主要信息来源。
</para>
</listitem>
<listitem>
<para>
在Hibernate 的网站上可以找到经常提问的问题与解答(FAQ)。
</para>
</listitem>
<listitem>
<para>
在Hibernate网站上还有第三方的演示、示例和教程的链接。
</para>
</listitem>
<listitem>
<para>
Hibernate网站的“社区(Community Area)”是讨论关于设计模式以及很多整合方案(Tomcat, JBoss AS, Struts, EJB,等等)的好地方。
</para>
</listitem>
</orderedlist>
<para>
如果你有问题请使用Hibernate网站上链接的用户论坛。我们也提供一个JIRA问题追踪系统来搜集bug报告和新功能请求。如果你对开发Hibernate有兴趣请加入开发者的邮件列表。Hibernate网站上的用户论坛有一个中文版面JavaEye也有Hibernate中文版面,您可以在那里交流问题与经验。)
</para>
<para>
商业开发、产品支持和Hibernate培训可以通过JBoss Inc.获得。请查阅http://www.hibernate.org/SupportTraining/)。
Hibernate是一个专业的开放源代码项目(Professional Open Source project)也是JBoss Enterprise Middleware System(JEMS),JBoss企业级中间件系统的一个核心组件。
</para>
<sect1 id="preface-translate-comments-zh-cn">
<title>翻译说明</title>
<para>
本文档的翻译是在网络上协作进行的也会不断根据Hibernate的升级进行更新。提供此文档的目的是为了减缓学习Hibernate的坡度而非代替原文档。我们建议所有有能力的读者都直接阅读英文原文。若您对翻译有异议或发现翻译错误敬请不吝赐教报告到如下email地址cao at redsaga.com
</para>
<para>
Hibernate版本3的翻译由满江红翻译团队(RedSaga Translate Team)集体进行这也是一次大规模网络翻译的试验。在不到20天的时间内我们完成了两百多页文档的翻译这一成果是通过十几位网友集体努力完成的。通过这次翻译我们也有了一套完整的流程从初译、技术审核一直到文字审核、发布。我们的翻译团队还会继续完善我们的翻译流程并翻译其他优秀的Java开源资料敬请期待。
</para>
<table frame="topbot" id="redsaga-translate-team">
<title>
Hibernate v3翻译团队
</title>
<tgroup cols="5" rowsep="1" colsep="1">
<colspec colname="c1" colwidth="1*"/>
<colspec colname="c2" colwidth="2*"/>
<colspec colname="c3" colwidth="2*"/>
<colspec colname="c4" colwidth="2*"/>
<colspec colname="c5" colwidth="2*"/>
<thead>
<row>
<entry align="center">
序号
</entry>
<entry align="center">
标题
</entry>
<entry align="center">
中文标题
</entry>
<entry align="center">
v3翻译
</entry>
<entry align="center">
v3审校
</entry>
<entry align="center">
v3.1审校
</entry>
</row>
</thead>
<tbody>
<row>
<entry>--</entry>
<entry>Quickstart with Tomcat</entry>
<entry>在Tomcat中快速上手(3.1版本中取消)</entry>
<entry>曹晓钢</entry>
<entry>zoujm</entry>
<entry>--</entry>
</row>
<row>
<entry>#1</entry>
<entry>Turtotial</entry>
<entry>Hibernate入门</entry>
<entry>Zheng Shuai</entry>
<entry>-</entry>
<entry>Sean Chan</entry>
</row>
<row>
<entry>#2</entry>
<entry>Architecture</entry>
<entry>体系结构</entry>
<entry>Hilton(BJUG)</entry>
<entry>厌倦发呆</entry>
<entry>Sean Chan</entry>
</row>
<row>
<entry>#3</entry>
<entry>Configuration</entry>
<entry>配置</entry>
<entry>Goncha</entry>
<entry>mochow</entry>
<entry>zcgly</entry>
</row>
<row>
<entry>#4</entry>
<entry>Persistent Classes</entry>
<entry>持久化类</entry>
<entry>曹晓钢</entry>
<entry>mochow</entry>
<entry>DigitalSonic</entry>
</row>
<row>
<entry>#5</entry>
<entry>Basic O/R Mapping</entry>
<entry>对象/关系数据库映射基础(上)</entry>
<entry>moxie</entry>
<entry>Kingfish</entry>
<entry>张成钢</entry>
</row>
<row>
<entry></entry>
<entry></entry>
<entry>对象/关系数据库映射基础(下)</entry>
<entry>inter_dudu</entry>
<entry>刘国雄(vincent)</entry>
<entry>张成钢</entry>
</row>
<row>
<entry>#6</entry>
<entry>Collection Mapping</entry>
<entry>集合类映射</entry>
<entry>曹晓钢</entry>
<entry>robbin</entry>
<entry>--</entry>
</row>
<row>
<entry>#7</entry>
<entry>Association Mappings</entry>
<entry>关联关系映射</entry>
<entry>Robbin</entry>
<entry>devils.advocate</entry>
<entry>--</entry>
</row>
<row>
<entry>#8</entry>
<entry>Component Mapping</entry>
<entry>组件映射</entry>
<entry>曹晓钢</entry>
<entry>Robbin</entry>
<entry>Song guo qiang</entry>
</row>
<row>
<entry>#9</entry>
<entry>Inheritance Mappings</entry>
<entry>继承映射</entry>
<entry>morning(BJUG)</entry>
<entry>mochow</entry>
<entry>Liang cheng</entry>
</row>
<row>
<entry>#10</entry>
<entry>Working with objects</entry>
<entry>与对象共事</entry>
<entry>程广楠</entry>
<entry>厌倦发呆</entry>
<entry>--</entry>
</row>
<row>
<entry>#11</entry>
<entry>Transactions And Concurrency</entry>
<entry>事务和并发</entry>
<entry>Robbin</entry>
<entry>mochow</entry>
<entry>--</entry>
</row>
<row>
<entry>#12</entry>
<entry>Interceptors and events</entry>
<entry>继承映射</entry>
<entry>七彩狼(BJUG)</entry>
<entry>厌倦发呆</entry>
<entry>--</entry>
</row>
<row>
<entry>#13</entry>
<entry>Batch processing</entry>
<entry>批量处理</entry>
<entry>Kingfish(BJUG)</entry>
<entry>厌倦发呆</entry>
<entry>--</entry>
</row>
<row>
<entry>#14</entry>
<entry>HQL: The Hibernate Query Language</entry>
<entry>HQL: Hibernate查询语言</entry>
<entry>郑浩(BJUG)</entry>
<entry>Zheng Shuai</entry>
<entry>--</entry>
</row>
<row>
<entry>#15</entry>
<entry>Criteria Queries</entry>
<entry>条件查询</entry>
<entry>nemo(BJUG)</entry>
<entry>Zheng Shuai</entry>
<entry>--</entry>
</row>
<row>
<entry>#16</entry>
<entry>Native SQL</entry>
<entry>Native SQL查询</entry>
<entry>似水流年</entry>
<entry>zoujm</entry>
<entry>--</entry>
</row>
<row>
<entry>#17</entry>
<entry>Filters</entry>
<entry>过滤数据</entry>
<entry>冰云(BJUG)</entry>
<entry>Goncha</entry>
<entry>--</entry>
</row>
<row>
<entry>#18</entry>
<entry>XML Mapping</entry>
<entry>XML映射</entry>
<entry>edward(BJUG)</entry>
<entry>Goncha</entry>
<entry>huxb</entry>
</row>
<row>
<entry>#19</entry>
<entry>Improving performance</entry>
<entry>性能提升</entry>
<entry>Wangjinfeng</entry>
<entry>Robbin</entry>
<entry>--</entry>
</row>
<row>
<entry>#20</entry>
<entry>Toolset Guide</entry>
<entry>工具箱指南</entry>
<entry>曹晓钢</entry>
<entry>Robbin</entry>
<entry>--</entry>
</row>
<row>
<entry>#21</entry>
<entry>Example: Parent/Child</entry>
<entry>示例:父子关系</entry>
<entry>曹晓钢</entry>
<entry>devils.advocate</entry>
<entry>--</entry>
</row>
<row>
<entry>#22</entry>
<entry>Example: Weblog Application</entry>
<entry>示例Weblog 应用程序</entry>
<entry>曹晓钢</entry>
<entry>devils.advocate</entry>
<entry>--</entry>
</row>
<row>
<entry>#23</entry>
<entry>Example: Various Mappings</entry>
<entry>示例:多种映射</entry>
<entry>shidu(BJUG)</entry>
<entry>冰云</entry>
<entry>--</entry>
</row>
<row>
<entry>#24</entry>
<entry>Best Practices</entry>
<entry>最佳实践</entry>
<entry>曹晓钢</entry>
<entry>冰云</entry>
<entry>--</entry>
</row>
</tbody>
</tgroup>
</table>
<para>
v3.2版本在2006年11月份由曹晓钢更新。
</para>
<para>
关于我们
</para>
<variablelist spacing="compact">
<varlistentry>
<term>满江红.开源, http://www.redsaga.com</term>
<listitem>
<para>
从成立之初就致力于Java开放源代码在中国的传播与发展,与国内多个Java团体及出版社有深入交流。坚持少说多做的原则目前有两个团队“OpenDoc团队”与“翻译团队”本翻译文档即为翻译团队作品。OpenDoc团队已经推出包括Hibernate、iBatis、Spring、WebWork的多份开放文档并于2005年5月在Hibernate开放文档基础上扩充成书出版了原创书籍《深入浅出Hibernate》本书400余页适合各个层次的Hibernate用户。(http://www.redsaga.com/hibernate_book.html)敬请支持。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>北京Java用户组, http://www.bjug.org</term>
<listitem>
<para>
Beiing Java User Group民间技术交流组织成立于2004年6月。以交流与共享为宗旨每两周举行一次技术聚会活动。BJUG的目标是通过小部分人的努力形成一个技术社群创建良好的交流氛围并将新的技术和思想推广到整个IT界让我们共同进步。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>Java视线, http://www.javaeye.com</term>
<listitem>
<para>
Java视线在是Hibernate中文论坛http://www.hibernate.org.cnHibernate中文论坛是中国最早的Hibernate专业用户论坛为Hibernate在中国的推广做出了巨大的贡献基础上发展起来的Java深度技术网站目标是成为一个高品质的有思想深度的、原创精神的Java技术交流网站为软件从业人员提供一个自由的交流技术交流思想和交流信息的平台。
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>致谢</term>
<listitem>
<para>还有一些朋友给我们发来了勘误在此致谢Kurapica李毅李海林。
</para>
</listitem>
</varlistentry>
</variablelist>
</sect1>
<sect1 id="preface-translate-licence-zh-cn">
<title>版权声明</title>
<para>
Hibernate英文文档属于Hibernate发行包的一部分遵循LGPL协议。本翻译版本同样遵循LGPL协议。参与翻译的译者一致同意放弃除署名权外对本翻译版本的其它权利要求。
</para>
<para>
您可以自由链接、下载、传播此文档或者放置在您的网站上甚至作为产品的一部分发行。但前提是必须保证全文完整转载包括完整的版权信息和作译者声明并不能违反LGPL协议。这里“完整”的含义是不能进行任何删除/增添/注解。若有删除/增添/注解,必须逐段明确声明那些部分并非本文档的一部分。
</para>
</sect1>
</preface>
&tutorial;
&architecture;
&configuration;
&persistent-classes;
&basic-mapping;
&collection-mapping;
&association-mapping;
&component-mapping;
&inheritance-mapping;
&session-api;
&transactions;
&events;
&batch;
&query-hql;
&query-criteria;
&query-sql;
&filters;
&xml;
&performance;
&toolset-guide;
&example-parentchild;
&example-weblog;
&example-mappings;
&best-practices;
</book>

View File

@ -1,31 +0,0 @@
#!/bin/env perl
use strict;
use warnings;
open(F, $ARGV[0]) or die "Can't open file $ARGV[0]: $!\n";
my $status = 1;
READLINE:
while (<F>) {
if (/\s+\+{3,}/) {
$status = -1;
next READLINE;
}
if (/\s+-{3,}/) {
$status = 1;
next READLINE;
}
if (/\s+={3,}/) {
next READLINE;
}
if ($status < 0) {
next READLINE;
}
print $_;
}

View File

@ -0,0 +1,17 @@
<?xml version='1.0' encoding="UTF-8"?>
<!DOCTYPE authorgroup PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
<authorgroup id="translators">
<othercredit class="translator">
<firstname>Cao</firstname>
<surname>Xiaogang</surname>
<affiliation>
<orgname>RedSaga</orgname>
</affiliation>
<contrib>Translation Lead</contrib>
<email>caoxg@yahoo.com</email>
</othercredit>
</authorgroup>

View File

@ -1,97 +0,0 @@
A {
color: #003399;
}
A:active {
color: #003399;
}
A:visited {
color: #888888;
}
P, OL, UL, LI, DL, DT, DD, BLOCKQUOTE {
color: #000000;
}
TD, TH, SPAN {
color: #000000;
}
BLOCKQUOTE {
margin-right: 0px;
}
H1, H2, H3, H4, H5, H6 {
color: #000000;
font-weight:500;
margin-top:10px;
padding-top:15px;
}
TABLE {
border-collapse: collapse;
border-spacing:0;
border: 1px thin black;
empty-cells: hide;
}
TD {
padding: 4pt;
}
H1 { font-size: 150%; }
H2 { font-size: 140%; }
H3 { font-size: 110%; font-weight: bold; }
H4 { font-size: 110%; font-weight: bold;}
H5 { font-size: 100%; font-style: italic; }
H6 { font-size: 100%; font-style: italic; }
TT {
font-size: 90%;
font-family: "Courier New", Courier, monospace;
color: #000000;
}
PRE {
font-size: 100%;
padding: 5px;
border-style: solid;
border-width: 1px;
border-color: #CCCCCC;
background-color: #F4F4F4;
}
UL, OL, LI {
list-style: disc;
}
HR {
width: 100%;
height: 1px;
background-color: #CCCCCC;
border-width: 0px;
padding: 0px;
color: #CCCCCC;
}
.variablelist {
padding-top: 10;
padding-bottom:10;
margin:0;
}
.itemizedlist, UL {
padding-top: 0;
padding-bottom:0;
margin:0;
}
.term {
font-weight:bold;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB