[jboss-cvs] JBossAS SVN: r73206 - projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Fri May 9 07:58:19 EDT 2008


Author: xhuang at jboss.com
Date: 2008-05-09 07:58:19 -0400 (Fri, 09 May 2008)
New Revision: 73206

Modified:
   projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/The_CMP_Engine.po
Log:
update

Modified: projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/The_CMP_Engine.po
===================================================================
--- projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/The_CMP_Engine.po	2008-05-09 11:10:10 UTC (rev 73205)
+++ projects/docs/trunk/AS_4/Server_Configuration_Guide/zh-CN/The_CMP_Engine.po	2008-05-09 11:58:19 UTC (rev 73206)
@@ -9,7 +9,7 @@
 "Project-Id-Version: The_CMP_Engine\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2007-11-05 06:04+0000\n"
-"PO-Revision-Date: 2008-05-09 15:18+1000\n"
+"PO-Revision-Date: 2008-05-09 21:57+1000\n"
 "Last-Translator: Xi HUANG <xhuang at redhat.com>\n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -1221,14 +1221,12 @@
 
 #. Tag: para
 #: The_CMP_Engine.xml:272 The_CMP_Engine.xml:2615
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">clean-read-ahead-on-load</emphasis>: When an entity "
 "is loaded from the read ahead cache, JBoss can remove the data used from the "
 "read ahead cache. The default is <literal>false</literal>."
-msgstr ""
-"<emphasis role=\"bold\">keystorePass</emphasis>:这是从指定 keystore 文件里访"
-"问服务器证书所用到的密码。它的缺省值是 <literal>changeit</literal>."
+msgstr "<emphasis role=\"bold\">clean-read-ahead-on-load</emphasis>:当 entity 从 read ahead 缓存里载入时,JBoss 可以删除 read ahead 缓存里的数据。其缺省值是 <literal>false</literal>。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:277
@@ -1587,6 +1585,8 @@
 "specified. The default JDBC type will be based on the database type in the "
 "<literal>datasourcemapping</literal>."
 msgstr ""
+"<emphasis role=\"bold\">jdbc-type</emphasis>:这是在设置 JDBC prepared 语句或从 JDBC 结果集里载入数据时使用的 JDBC 类型。其有效值在 <literal>java.sql."
+"Types</literal> 里定义。它只有在指定了 <literal>sql-type</literal> 时才需要。缺省的 JDBC 类型将基于 <literal>datasourcemapping</literal> 里的数据库类型。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:404
@@ -1598,19 +1598,20 @@
 "type</literal> is specified. The default SQL type will be base on the "
 "database type in the <literal>datasourcemapping</literal>"
 msgstr ""
+"<emphasis role=\"bold\">sql-type</emphasis>:这是在 create table 语句里使用的 SQL 类型。它只有在指定了 <literal>jdbc-"
+"type</literal> 时才需要。缺省的 SQL 类型将基于 <literal>datasourcemapping</literal> 里的类型。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:409
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">property</emphasis>: This optional element allows "
 "one to define how the properties of a dependent value class CMP field should "
 "be mapped to the persistent store. This is discussed further in <xref "
 "linkend=\"CMP_Fields-Dependent_Value_Classes_DVCs\"/>."
 msgstr ""
-"<emphasis role=\"bold\">PartitionConfig</emphasis> 是一个用来为这个群集(参"
-"看 <xref linkend=\"jbosscache-jgroups\"/>)指定 JGroup 配置选项的元素"
-"(element)。"
+"<emphasis role=\"bold\">property</emphasis>:这个可选元素允许你定义 dependent value 类的 CMP 字段的属性怎样映射到持久性存储。<xref "
+"linkend=\"CMP_Fields-Dependent_Value_Classes_DVCs\"/> 里将对它进行进一步讨论。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:414
@@ -1620,7 +1621,7 @@
 "optional field indicates that it is automatically incremented by the "
 "database layer. This is used to map a field to a generated column as well as "
 "to an externally manipulated column."
-msgstr ""
+msgstr "<emphasis role=\"bold\">auto-increment</emphasis>:这个可选字段指定数据库层进行自动递增。它被用来把字段映射到生成的列以及外部操作的列。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:419
@@ -1629,7 +1630,7 @@
 "<emphasis role=\"bold\">dbindex</emphasis>: The presence of this optional "
 "field indicates that the server should create an index on the corresponding "
 "column in the database. The index name will be fieldname_index."
-msgstr ""
+msgstr "<emphasis role=\"bold\">dbindex</emphasis>:这个可选字段指定服务器应该创建数据库里对应的列的索引。索引名将为 fieldname_index。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:424
@@ -1643,6 +1644,8 @@
 "expensive, you can optimize it away by setting <literal>check-dirty-after-"
 "get</literal> to false."
 msgstr ""
+"<emphasis role=\"bold\">check-dirty-after-get</emphasis>:对于原始类型和基本的 java.lang immutable wrappers (<literal>Integer</literal>, <literal>String</literal>, etc...) 来说,这个值缺省为 false。对于潜在的易变对象,在 get 操作后 JBoss 将把其字段标记为潜在的 dirty。如果 dirty 检查代价过大,你可以把 <literal>check-dirty-after-"
+"get</literal> 设为 false 来进行优化。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:429
@@ -1653,6 +1656,8 @@
 "State factory classes must implement the <literal>CMPFieldStateFactory</"
 "literal> interface."
 msgstr ""
+"<emphasis role=\"bold\">state-factory</emphasis>:它指定状态工厂(state factory)对象的类名,这个对象可以对该字段进行脏检查(dirty checking)。状态工厂类必须实现 <literal>CMPFieldStateFactory</"
+"literal> 接口。"
 
 #. Tag: title
 #: The_CMP_Engine.xml:437
@@ -1675,6 +1680,9 @@
 "fields are useful for fields that are filled in by database triggers, such "
 "as last update. A read-only CMP field declaration example follows:"
 msgstr ""
+"JBoss 可以设置 <literal>cmp-"
+"field</literal> 声明里的 <literal>read-only</"
+"literal> 和 <literal>read-time-out</literal> 元素来声明只读 CMP 字段。这些元素和 entity 级别的一样。如果字段为只读,它不能在 <literal>INSERT</literal> 或 <literal>UPDATE</literal> 语句里使用。如果主键字段是<literal>只读</literal>的,那么 create 方法将抛出 <literal>CreateException</literal>。如果对只读字段调用 set 方法,它将抛出 <literal>EJBException</literal>。只读属性对于通过数据库触发器(trigger)填值的字段很有用,如最近的更新。下面是一个只读的 CMP 字段声明示例:"
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:441
@@ -1747,42 +1755,39 @@
 
 #. Tag: para
 #: The_CMP_Engine.xml:464
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">created-time</emphasis>: This optional element "
 "indicates that the time of entity creation should be saved to either the "
 "indicated <literal>column-name</literal> or cmp <literal>field-name</"
 "literal>."
 msgstr ""
-"<emphasis role=\"bold\">LenientEjbLink</emphasis>:这个标记指出在尝试 "
-"<literal>jboss-web.xml</literal> 里的 <literal>jndi-name</literal> 时应该忽"
-"略 <literal>ejb-link</literal> 错误。这个标记的缺省值是 ture。"
+"<emphasis role=\"bold\">created-time</emphasis>:这个可选元素指定 entity 创建的时间应该保存为 <literal>column-name</literal> 或 cmp <literal>field-name</"
+"literal>。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:469
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">updated-by</emphasis>: This optional element "
 "indicates that the caller who last modified the entity should be saved to "
 "either the indicated <literal>column-name</literal> or CMP <literal>field-"
 "name</literal>."
 msgstr ""
-"<emphasis role=\"bold\">LenientEjbLink</emphasis>:这个标记指出在尝试 "
-"<literal>jboss-web.xml</literal> 里的 <literal>jndi-name</literal> 时应该忽"
-"略 <literal>ejb-link</literal> 错误。这个标记的缺省值是 ture。"
+"<emphasis role=\"bold\">updated-by</emphasis>:这个可选元素指定最后修改 entity 的调用者应该保存在指定的 <literal>column-name</literal> 或 CMP <literal>field-"
+"name</literal>。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:474
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">updated-time</emphasis>: This optional element "
 "indicates that the last time of entity modification should be saved to "
 "either the indicated <literal>column-name</literal> or CMP <literal>field-"
 "name</literal>."
 msgstr ""
-"<emphasis role=\"bold\">LenientEjbLink</emphasis>:这个标记指出在尝试 "
-"<literal>jboss-web.xml</literal> 里的 <literal>jndi-name</literal> 时应该忽"
-"略 <literal>ejb-link</literal> 错误。这个标记的缺省值是 ture。"
+"<emphasis role=\"bold\">LenientEjbLink</emphasis>:这个可选元素指定最后一次对 entity 的修改应该保存到指定的 <literal>column-name</literal> 或 CMP <literal>field-"
+"name</literal> 里。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:479
@@ -1797,7 +1802,7 @@
 "the audit fields will be created and added to the entity internally. You "
 "will be able to access audit information in EJB-QL queries using the audit "
 "field names, but not directly through the entity accessors."
-msgstr ""
+msgstr "对于每个元素,如果给定了 <literal>field-name</literal>,相应的审计信息应该保存在被访问的 entity bean 的指定 CMP 字段里。请注意,你并不需要在这个 entity 上声明相应的 CMP 字段。如果有匹配的字段名,你就可以在应用程序里用对应的 CMP 字段的 abstract getter 和 setter 方法来访问审计字段。否则,审计字段将被创建并添加到 entity 内部。你可以在 EJB-QL 查询通过审计字段访问审计信息,但不能直接用 entity 的 accessor 进行访问。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:482
@@ -1809,6 +1814,8 @@
 "literal> and <literal>sql-type</literal> element can then be used to define "
 "the storage type."
 msgstr ""
+"从另外一方面将,如果指定了 <literal>column-name</literal>,对应的审计信息应该存储在 entity 表里指定的列里。如果 JBoss 正在创建表,<literal>jdbc-type</"
+"literal> 和 <literal>sql-type</literal> 元素可以用来定义存储类型。"
 
 #. Tag: para
 #: The_CMP_Engine.xml:485




More information about the jboss-cvs-commits mailing list