[jboss-cvs] JBossAS SVN: r91339 - projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Jul 16 02:38:20 EDT 2009


Author: ldelima at redhat.com
Date: 2009-07-16 02:38:20 -0400 (Thu, 16 Jul 2009)
New Revision: 91339

Modified:
   projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/The_CMP_Engine.po
Log:
translation ongoing

Modified: projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/The_CMP_Engine.po
===================================================================
--- projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/The_CMP_Engine.po	2009-07-16 06:36:27 UTC (rev 91338)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/The_CMP_Engine.po	2009-07-16 06:38:20 UTC (rev 91339)
@@ -8,7 +8,7 @@
 "Project-Id-Version: The_CMP_Engine\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n"
 "POT-Creation-Date: 2009-01-20 02:37+0000\n"
-"PO-Revision-Date: 2009-07-16 16:35+1000\n"
+"PO-Revision-Date: 2009-07-16 16:38+1000\n"
 "Last-Translator: \n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -959,12 +959,16 @@
 "set to <literal>gangster</literal>. That will be important when we look at "
 "EJB-QL queries in <xref linkend=\"The_CMP_Engine-Queries\"/>."
 msgstr ""
+"Note that we&#39;ve specified a CMP version of <literal>2.x</literal> to "
+"indicate that this is EJB 2.x CMP entity bean. The abstract schema name was "
+"set to <literal>gangster</literal>. That will be important when we look at "
+"EJB-QL queries in <xref linkend=\"The_CMP_Engine-Queries\"/>."
 
 #. Tag: title
 #: The_CMP_Engine.xml:164
 #, no-c-format
 msgid "Entity Mapping"
-msgstr ""
+msgstr "Entity Mapping"
 
 #. Tag: para
 #: The_CMP_Engine.xml:165
@@ -979,6 +983,14 @@
 "the top level <literal>jbosscmp-jdbc</literal> element. A stubbed out entity "
 "configuration is shown below."
 msgstr ""
+"The JBoss configuration for the entity is declared with an <literal>entity</"
+"literal> element in the <literal>jbosscmp-jdbc.xml</literal> file. This file "
+"is located in the <literal>META-INF</literal> directory of the EJB JAR and "
+"contains all of the optional configuration information for configuring the "
+"CMP mapping. The <literal>entity</literal> elements for each entity bean are "
+"grouped together in the <literal>enterprise-beans</literal> element under "
+"the top level <literal>jbosscmp-jdbc</literal> element. A stubbed out entity "
+"configuration is shown below."
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:168
@@ -1004,6 +1016,25 @@
 "    &lt;/enterprise-beans&gt;\n"
 "&lt;/jbosscmp-jdbc&gt;"
 msgstr ""
+"&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\n"
+"&lt;!DOCTYPE jbosscmp-jdbc PUBLIC\n"
+"     \"-//JBoss//DTD JBOSSCMP-JDBC 3.2//EN\"\n"
+"     \"http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd\"&gt;\n"
+"&lt;jbosscmp-jdbc&gt;\n"
+"    &lt;defaults&gt;\n"
+"        &lt;!-- application-wide CMP defaults --&gt;\n"
+"    &lt;/defaults&gt;\n"
+"    &lt;enterprise-beans&gt;\n"
+"        &lt;entity&gt;\n"
+"            &lt;ejb-name&gt;GangsterEJB&lt;/ejb-name&gt;\n"
+"            &lt;!-- overrides to defaults section --&gt;\n"
+"            &lt;table-name&gt;gangster&lt;/table-name&gt;            \n"
+"            &lt;!-- CMP Fields (see CMP-Fields) --&gt;\n"
+"            &lt;!-- Load Groups (see Load Groups)--&gt;\n"
+"            &lt;!-- Queries (see Queries) --&gt;\n"
+"        &lt;/entity&gt;\n"
+"    &lt;/enterprise-beans&gt;\n"
+"&lt;/jbosscmp-jdbc&gt;"
 
 #. Tag: para
 #: The_CMP_Engine.xml:169
@@ -1023,32 +1054,45 @@
 "The_entity_element_content_model\"/> shows the full <literal>entity</"
 "literal> content model."
 msgstr ""
+"The <literal>ejb-name</literal> element is required to match the entity "
+"specification here with the one in the <literal>ejb-jar.xml</literal> file. "
+"The remainder of the elements specify either overrides the global or "
+"application-wide CMP defaults and CMP mapping details specific to the bean. "
+"The application defaults come from the <literal>defaults</literal> section "
+"of the <literal>jbosscmp-jdbc.xml</literal> file and the global defaults "
+"come from the <literal>defaults</literal> section of the "
+"<literal>standardjbosscmp-jdbc.xml</literal> file in the <literal>conf</"
+"literal> directory for the current server configuration file set. The "
+"<literal>defaults</literal> section is discussed in <xref linkend="
+"\"The_CMP_Engine-Defaults\"/>. <xref linkend=\"Entity_Mapping-"
+"The_entity_element_content_model\"/> shows the full <literal>entity</"
+"literal> content model."
 
 #. Tag: title
 #: The_CMP_Engine.xml:173
 #, no-c-format
 msgid "The entity element content model"
-msgstr ""
+msgstr "The entity element content model"
 
 #. Tag: para
 #: The_CMP_Engine.xml:180
 #, no-c-format
 msgid "A detailed description of each entity element follows:"
-msgstr ""
+msgstr "A detailed description of each entity element follows:"
 
 #. Tag: para
 #: The_CMP_Engine.xml:185
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">ejb-name</emphasis>: This required element is the "
 "name of the EJB to which this configuration applies. This element must match "
 "an <literal>ejb-name</literal> of an entity in the <literal>ejb-jar.xml</"
 "literal> file."
 msgstr ""
-"<emphasis role=\"bold\">name</emphasis>: Este é um nome DNS de uma máquina "
-"virtual. Pelo menos um elemento  <literal>Host</literal> deve ser "
-"configurado com o nome que corresponde ao valor <literal>defaultHost</"
-"literal> do <literal>Engine</literal>."
+"<emphasis role=\"bold\">ejb-name</emphasis>: This required element is the "
+"name of the EJB to which this configuration applies. This element must match "
+"an <literal>ejb-name</literal> of an entity in the <literal>ejb-jar.xml</"
+"literal> file."
 
 #. Tag: para
 #: The_CMP_Engine.xml:190
@@ -1062,6 +1106,11 @@
 "The default is <literal>java:/DefaultDS</literal> unless overridden in the "
 "defaults section."
 msgstr ""
+"connections used by an entity or relation-table are obtained from the "
+"datasource. Having different datasources for entities is not recommended, as "
+"it vastly constrains the domain over which finders and ejbSelects can query. "
+"The default is <literal>java:/DefaultDS</literal> unless overridden in the "
+"defaults section."
 
 #. Tag: para
 #: The_CMP_Engine.xml:195
@@ -1074,6 +1123,12 @@
 "\"Datasource_Customization-Mapping\"/>. The default is <literal>Hypersonic "
 "SQL</literal> unless overridden in the defaults section."
 msgstr ""
+"<emphasis role=\"bold\">datasource-mapping</emphasis>: This optional element "
+"specifies the name of the <literal>type-mapping</literal>, which determines "
+"how Java types are mapped to SQL types, and how EJB-QL functions are mapped "
+"to database specific functions. Type mappings are discussed in <xref linkend="
+"\"Datasource_Customization-Mapping\"/>. The default is <literal>Hypersonic "
+"SQL</literal> unless overridden in the defaults section."
 
 #. Tag: para
 #: The_CMP_Engine.xml:200
@@ -1087,6 +1142,13 @@
 "development when the table structure changes often. The default is false "
 "unless overridden in the defaults section."
 msgstr ""
+"<emphasis role=\"bold\">create-table</emphasis>: This optional element when "
+"true, specifies that JBoss should attempt to create a table for the entity. "
+"When the application is deployed, JBoss checks if a table already exists "
+"before creating the table. If a table is found, it is logged, and the table "
+"is not created. This option is very useful during the early stages of "
+"development when the table structure changes often. The default is false "
+"unless overridden in the defaults section."
 
 #. Tag: para
 #: The_CMP_Engine.xml:205 The_CMP_Engine.xml:2553
@@ -1097,18 +1159,22 @@
 "literal> can be used to keep the schema current with changes to the entity "
 "bean. Alter table will perform the following specific tasks:"
 msgstr ""
+"<emphasis role=\"bold\">alter-table</emphasis>: If <literal>create-table</"
+"literal> is used to automatically create the schema, <literal>alter-table</"
+"literal> can be used to keep the schema current with changes to the entity "
+"bean. Alter table will perform the following specific tasks:"
 
 #. Tag: para
 #: The_CMP_Engine.xml:210 The_CMP_Engine.xml:2558
 #, no-c-format
 msgid "new fields will be created"
-msgstr ""
+msgstr "new fields will be created"
 
 #. Tag: para
 #: The_CMP_Engine.xml:215 The_CMP_Engine.xml:2563
 #, no-c-format
 msgid "fields which are no longer used will be removed"
-msgstr ""
+msgstr "ields which are no longer used will be removed"
 
 #. Tag: para
 #: The_CMP_Engine.xml:220 The_CMP_Engine.xml:2568
@@ -1117,6 +1183,8 @@
 "string fields which are shorter than the declared length will have their "
 "length increased to the declared length. (not supported by all databases)"
 msgstr ""
+"string fields which are shorter than the declared length will have their "
+"length increased to the declared length. (not supported by all databases)"
 
 #. Tag: para
 #: The_CMP_Engine.xml:227
@@ -1129,6 +1197,12 @@
 "stages of development when the table structure changes often. The default is "
 "false unless overridden in the defaults section."
 msgstr ""
+"<emphasis role=\"bold\">remove-table</emphasis>: This optional element when "
+"true, JBoss will attempt to drop the table for each entity and each relation "
+"table mapped relationship. When the application is undeployed, JBoss will "
+"attempt to drop the table. This option is very useful during the early "
+"stages of development when the table structure changes often. The default is "
+"false unless overridden in the defaults section."
 
 #. Tag: para
 #: The_CMP_Engine.xml:232 The_CMP_Engine.xml:801
@@ -1140,6 +1214,11 @@
 "<literal>create-table</literal> is true and the table did not previously "
 "exist."
 msgstr ""
+"<emphasis role=\"bold\">post-table-create</emphasis>: This optional element "
+"specifies an arbitrary SQL statement that should be executed immediately "
+"after the database table is created. This command is only executed if "
+"<literal>create-table</literal> is true and the table did not previously "
+"exist."
 
 #. Tag: para
 #: The_CMP_Engine.xml:237
@@ -1157,6 +1236,17 @@
 "in <xref linkend=\"CMP_Fields-Read_only_Fields\"/>. The default is false "
 "unless overridden in the <literal>defaults</literal> section."
 msgstr ""
+"<emphasis role=\"bold\">read-only</emphasis>: This optional element when "
+"true specifies that the bean provider will not be allowed to change the "
+"value of any fields. A field that is read-only will not be stored in, or "
+"inserted into, the database. If a primary key field is read-only, the create "
+"method will throw a <literal>CreateException</literal>. If a set accessor is "
+"called on a read-only field, it throws an <literal>EJBException</literal>. "
+"Read-only fields are useful for fields that are filled in by database "
+"triggers, such as last update. The <literal>read-only</literal> option can "
+"be overridden on a per <literal>cmp-field</literal> basis, and is discussed "
+"in <xref linkend=\"CMP_Fields-Read_only_Fields\"/>. The default is false "
+"unless overridden in the <literal>defaults</literal> section."
 
 #. Tag: para
 #: The_CMP_Engine.xml:242
@@ -1170,6 +1260,13 @@
 "If <literal>read-only</literal> is false, this value is ignored. The default "
 "is -1 unless overridden in the <literal>defaults</literal> section."
 msgstr ""
+"<emphasis role=\"bold\">read-time-out</emphasis>: This optional element is "
+"the amount of time in milliseconds that a read on a read-only field is "
+"valid. A value of 0 means that the value is always reloaded at the start of "
+"a transaction, and a value of -1 means that the value never times out. This "
+"option can also be overridden on a per <literal>cmp-field</literal> basis. "
+"If <literal>read-only</literal> is false, this value is ignored. The default "
+"is -1 unless overridden in the <literal>defaults</literal> section."
 
 #. Tag: para
 #: The_CMP_Engine.xml:247




More information about the jboss-cvs-commits mailing list