[jboss-cvs] JBossAS SVN: r92185 - 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
Mon Aug 10 02:56:25 EDT 2009
Author: ldelima at redhat.com
Date: 2009-08-10 02:56:25 -0400 (Mon, 10 Aug 2009)
New Revision: 92185
Modified:
projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/The_CMP_Engine.po
Log:
translation finished
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-08-10 06:54:12 UTC (rev 92184)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/The_CMP_Engine.po 2009-08-10 06:56:25 UTC (rev 92185)
@@ -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-08-10 16:49+1000\n"
+"PO-Revision-Date: 2009-08-10 16:56+1000\n"
"Last-Translator: \n"
"Language-Team: <en at li.org>\n"
"MIME-Version: 1.0\n"
@@ -7840,6 +7840,9 @@
"literal><literal>entity-command</literal> with the generated key mapped to a "
"known primary key <literal>cmp-field</literal> is shown below."
msgstr ""
+"An example configuration using the <literal>hsqldb-fetch-key</"
+"literal><literal>entity-command</literal> with the generated key mapped to a "
+"known primary key <literal>cmp-field</literal> is shown below."
#. Tag: programlisting
#: The_CMP_Engine.xml:2505
@@ -7864,6 +7867,24 @@
" </enterprise-beans>\n"
"</jbosscmp-jdbc>"
msgstr ""
+"<jbosscmp-jdbc>\n"
+" <enterprise-beans>\n"
+" <entity>\n"
+" <ejb-name>LocationEJB</ejb-name>\n"
+" <pk-constraint>false</pk-constraint>\n"
+" <table-name>location</table-name>\n"
+" \n"
+" <cmp-field>\n"
+" <field-name>locationID</field-name>\n"
+" <column-name>id</column-name>\n"
+" <auto-increment/>\n"
+" </cmp-field>\n"
+" <!-- ... -->\n"
+" <entity-command name=\"hsqldb-fetch-key\"/>\n"
+" \n"
+" </entity>\n"
+" </enterprise-beans>\n"
+"</jbosscmp-jdbc>"
#. Tag: para
#: The_CMP_Engine.xml:2506
@@ -7872,10 +7893,12 @@
"An alternate example using an unknown primary key without an explicit "
"<literal>cmp-field</literal> is shown below."
msgstr ""
+"An alternate example using an unknown primary key without an explicit "
+"<literal>cmp-field</literal> is shown below."
#. Tag: programlisting
#: The_CMP_Engine.xml:2509
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<jbosscmp-jdbc>\n"
" <enterprise-beans>\n"
@@ -7898,33 +7921,32 @@
" </enterprise-beans>\n"
"</jbosscmp-jdbc>"
msgstr ""
-"<jboss> \n"
-" <enterprise-beans> \n"
-" <session> \n"
-" <ejb-name>nextgen.StatelessSession</ejb-"
-"name> \n"
-" <jndi-name>nextgen.StatelessSession</jndi-"
-"name> \n"
-" <clustered>True</clustered> \n"
-" <cluster-config> \n"
-" <partition-name>DefaultPartition</partition-"
-"name> \n"
-" <home-load-balance-policy> \n"
-" org.jboss.ha.framework.interfaces.RoundRobin \n"
-" </home-load-balance-policy> \n"
-" <bean-load-balance-policy> \n"
-" org.jboss.ha.framework.interfaces.RoundRobin\n"
-" </bean-load-balance-policy>\n"
-" </cluster-config>\n"
-" </session>\n"
+"<jbosscmp-jdbc>\n"
+" <enterprise-beans>\n"
+" <entity>\n"
+" <ejb-name>LocationEJB</ejb-name>\n"
+" <pk-constraint>false</pk-constraint>\n"
+" <table-name>location</table-name>\n"
+" <unknown-pk>\n"
+" <unknown-pk-class>java.lang.Integer</unknown-pk-"
+"class>\n"
+" <field-name>locationID</field-name>\n"
+" <column-name>id</column-name>\n"
+" <jdbc-type>INTEGER</jdbc-type>\n"
+" <sql-type>INTEGER</sql-type>\n"
+" <auto-increment/>\n"
+" </unknown-pk>\n"
+" <!--...-->\n"
+" <entity-command name=\"hsqldb-fetch-key\"/>\n"
+" </entity>\n"
" </enterprise-beans>\n"
-"</jboss>"
+"</jbosscmp-jdbc>"
#. Tag: title
#: The_CMP_Engine.xml:2515
-#, fuzzy, no-c-format
+#, no-c-format
msgid "Defaults"
-msgstr "padrão"
+msgstr "Defaults"
#. Tag: para
#: The_CMP_Engine.xml:2516
@@ -7937,18 +7959,24 @@
"in a defaults element of the configuration file, and the content model is "
"shown below."
msgstr ""
+"JBoss global defaults are defined in the <literal>standardjbosscmp-jdbc.xml</"
+"literal> file of the <literal>server/<server-name>/conf/</literal> "
+"directory. Each application can override the global defaults in the "
+"<literal>jbosscmp-jdbc.xml</literal> file. The default options are contained "
+"in a defaults element of the configuration file, and the content model is "
+"shown below."
#. Tag: title
#: The_CMP_Engine.xml:2520
#, no-c-format
msgid "The jbosscmp-jdbc.xml defaults content model"
-msgstr ""
+msgstr "The jbosscmp-jdbc.xml defaults content model"
#. Tag: para
#: The_CMP_Engine.xml:2527
#, no-c-format
msgid "An example of the defaults section follows:"
-msgstr ""
+msgstr "An example of the defaults section follows:"
#. Tag: programlisting
#: The_CMP_Engine.xml:2530
@@ -7976,12 +8004,33 @@
" </defaults>\n"
"</jbosscmp-jdbc>"
msgstr ""
+"<jbosscmp-jdbc>\n"
+" <defaults>\n"
+" <datasource>java:/DefaultDS</datasource>\n"
+" <datasource-mapping>Hypersonic SQL</datasource-mapping>\n"
+" <create-table>true</create-table>\n"
+" <remove-table>false</remove-table>\n"
+" <read-only>false</read-only>\n"
+" <read-time-out>300000</read-time-out>\n"
+" <pk-constraint>true</pk-constraint>\n"
+" <fk-constraint>false</fk-constraint>\n"
+" <row-locking>false</row-locking>\n"
+" <preferred-relation-mapping>foreign-key</preferred-relation-"
+"mapping>\n"
+" <read-ahead>\n"
+" <strategy>on-load</strategy>\n"
+" <page-size>1000</page-size>\n"
+" <eager-load-group>*</eager-load-group>\n"
+" </read-ahead>\n"
+" <list-cache-max>1000</list-cache-max>\n"
+" </defaults>\n"
+"</jbosscmp-jdbc>"
#. Tag: title
#: The_CMP_Engine.xml:2532
#, no-c-format
msgid "A sample jbosscmp-jdbc.xml defaults declaration"
-msgstr ""
+msgstr "A sample jbosscmp-jdbc.xml defaults declaration"
#. Tag: para
#: The_CMP_Engine.xml:2533
@@ -7991,6 +8040,9 @@
"overridden in the specific entity or relationship. A detailed description of "
"each option follows:"
msgstr ""
+"Each option can apply to entities, relationships, or both, and can be "
+"overridden in the specific entity or relationship. A detailed description of "
+"each option follows:"
#. Tag: para
#: The_CMP_Engine.xml:2538
@@ -8003,6 +8055,12 @@
"not recommended, as it vastly constrains the domain over which finders and "
"ejbSelects can query."
msgstr ""
+"<emphasis role=\"bold\">datasource</emphasis>: This optional element is the "
+"<literal>jndi-name</literal> used to look up the datasource. All database "
+"connections used by an entity or <literal>relation-table</literal> 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."
#. Tag: para
#: The_CMP_Engine.xml:2543
@@ -8014,6 +8072,11 @@
"to database specific functions. Type mappings are discussed in <xref linkend="
"\"Datasource_Customization-Mapping\"/>."
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\"/>."
#. Tag: para
#: The_CMP_Engine.xml:2548
@@ -8026,6 +8089,12 @@
"is not created. This option is very useful during the early stages of "
"development when the table structure changes often. The default is false."
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."
#. Tag: para
#: The_CMP_Engine.xml:2575
@@ -8038,6 +8107,12 @@
"stages of development when the table structure changes often. The default is "
"false."
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."
#. Tag: para
#: The_CMP_Engine.xml:2580
@@ -8054,6 +8129,16 @@
"only</literal> option can be overridden on a per field basis. The default is "
"false."
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 <literal>read-only</literal> 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 field basis. The default is "
+"false."
#. Tag: para
#: The_CMP_Engine.xml:2585
@@ -8066,6 +8151,12 @@
"option can also be overridden on a per CMP field basis. If <literal>read-"
"only</literal> is false, this value is ignored. The default is -1."
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 CMP field basis. If <literal>read-"
+"only</literal> is false, this value is ignored. The default is -1."
#. Tag: para
#: The_CMP_Engine.xml:2590
@@ -8078,17 +8169,24 @@
"<literal>row-locking-template</literal> in the <literal>datasource-mapping</"
"literal> used by this entity. The default is false."
msgstr ""
+"<emphasis role=\"bold\">row-locking</emphasis>: This optional element if "
+"true specifies that JBoss will lock all rows loaded in a transaction. Most "
+"databases implement this by using the <literal>SELECT FOR UPDATE</literal> "
+"syntax when loading the entity, but the actual syntax is determined by the "
+"<literal>row-locking-template</literal> in the <literal>datasource-mapping</"
+"literal> used by this entity. The default is false."
#. Tag: para
#: The_CMP_Engine.xml:2595
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<emphasis role=\"bold\">pk-constraint</emphasis>: This optional element if "
"true specifies that JBoss will add a primary key constraint when creating "
"tables. The default is true."
msgstr ""
-"<emphasis role=\"bold\">cookies</emphasis>: Esta é uma sinalização que "
-"indica se a sessão será trilhada através de cookies. O padrão é verdadeiro."
+"<emphasis role=\"bold\">pk-constraint</emphasis>: This optional element if "
+"true specifies that JBoss will add a primary key constraint when creating "
+"tables. The default is true."
#. Tag: para
#: The_CMP_Engine.xml:2600
@@ -8099,6 +8197,10 @@
"<literal>preferred-relation-mapping</literal> element must be either "
"<literal>foreign-key</literal> or <literal>relation-table</literal>."
msgstr ""
+"<emphasis role=\"bold\">preferred-relation-mapping</emphasis>: This optional "
+"element specifies the preferred mapping style for relationships. The "
+"<literal>preferred-relation-mapping</literal> element must be either "
+"<literal>foreign-key</literal> or <literal>relation-table</literal>."
#. Tag: para
#: The_CMP_Engine.xml:2605
@@ -8108,6 +8210,9 @@
"controls caching of query results and CMR fields for the entity. This option "
"is discussed in <xref linkend=\"Optimized_Loading-Read_ahead\"/>."
msgstr ""
+"<emphasis role=\"bold\">read-ahead</emphasis>: This optional element "
+"controls caching of query results and CMR fields for the entity. This option "
+"is discussed in <xref linkend=\"Optimized_Loading-Read_ahead\"/>."
#. Tag: para
#: The_CMP_Engine.xml:2610
@@ -8118,17 +8223,22 @@
"this entity. This option is discussed in <xref linkend=\"Read_ahead-on_load"
"\"/>. The default is 1000."
msgstr ""
+"<emphasis role=\"bold\">list-cache-max</emphasis>: This optional element "
+"specifies the number of <literal>read-lists</literal> that can be tracked by "
+"this entity. This option is discussed in <xref linkend=\"Read_ahead-on_load"
+"\"/>. The default is 1000."
#. Tag: para
#: The_CMP_Engine.xml:2620
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<emphasis role=\"bold\">fetch-size</emphasis>: This optional element "
"specifies the number of entities to read in one round-trip to the underlying "
"datastore. The default is 0."
msgstr ""
-"<emphasis role=\"bold\">cookies</emphasis>: Esta é uma sinalização que "
-"indica se a sessão será trilhada através de cookies. O padrão é verdadeiro."
+"<emphasis role=\"bold\">fetch-size</emphasis>: This optional element "
+"specifies the number of entities to read in one round-trip to the underlying "
+"datastore. The default is 0."
#. Tag: para
#: The_CMP_Engine.xml:2625
@@ -8138,6 +8248,9 @@
"one to define the default mapping of an unknown primary key type of "
"<literal>java.lang.Object</literal> maps to the persistent store."
msgstr ""
+"<emphasis role=\"bold\">unknown-pk</emphasis>: This optional element allows "
+"one to define the default mapping of an unknown primary key type of "
+"<literal>java.lang.Object</literal> maps to the persistent store."
#. Tag: para
#: The_CMP_Engine.xml:2630
@@ -8148,6 +8261,10 @@
"described in detail in <xref linkend=\"The_CMP_Engine-"
"Entity_Commands_and_Primary_Key_Generation\"/>."
msgstr ""
+"<emphasis role=\"bold\">entity-command</emphasis>: This optional element "
+"allows one to define the default command for entity creation. This is "
+"described in detail in <xref linkend=\"The_CMP_Engine-"
+"Entity_Commands_and_Primary_Key_Generation\"/>."
#. Tag: para
#: The_CMP_Engine.xml:2635
@@ -8158,6 +8275,10 @@
"compilers were discussed in <xref linkend=\"Queries-"
"EJBQL_2.1_and_SQL92_queries\"/>."
msgstr ""
+"<emphasis role=\"bold\">ql-compiler</emphasis>: This optional elements "
+"allows a replacement query compiler to be specified. Alternate query "
+"compilers were discussed in <xref linkend=\"Queries-"
+"EJBQL_2.1_and_SQL92_queries\"/>."
#. Tag: para
#: The_CMP_Engine.xml:2640
@@ -8168,12 +8289,16 @@
"be seen in the application as runtime <literal>EJBException</literal> rather "
"than as a checked exception."
msgstr ""
+"<emphasis role=\"bold\">throw-runtime-exceptions</emphasis>: This attribute, "
+"if set to true, indicates that an error in connecting to the database should "
+"be seen in the application as runtime <literal>EJBException</literal> rather "
+"than as a checked exception."
#. Tag: title
#: The_CMP_Engine.xml:2650
#, no-c-format
msgid "Datasource Customization"
-msgstr ""
+msgstr "Datasource Customization"
#. Tag: para
#: The_CMP_Engine.xml:2651
@@ -8188,12 +8313,20 @@
"mappings, or if you create a new mapping for a new database, please consider "
"posting a patch at the JBoss project page on SourceForge."
msgstr ""
+"JBoss includes predefined type-mappings for many databases including: "
+"Cloudscape, DB2, DB2/400, Hypersonic SQL, InformixDB, InterBase, MS "
+"SQLSERVER, MS SQLSERVER2000, mySQL, Oracle7, Oracle8, Oracle9i, PointBase, "
+"PostgreSQL, PostgreSQL 7.2, SapDB, SOLID, and Sybase. If you do not like the "
+"supplied mapping, or a mapping is not supplied for your database, you will "
+"have to define a new mapping. If you find an error in one of the supplied "
+"mappings, or if you create a new mapping for a new database, please consider "
+"posting a patch at the JBoss project page on SourceForge."
#. Tag: title
#: The_CMP_Engine.xml:2655
#, no-c-format
msgid "Type Mapping"
-msgstr ""
+msgstr "Type Mapping"
#. Tag: para
#: The_CMP_Engine.xml:2656
@@ -8204,18 +8337,22 @@
"content model for the type-mapping element is given in <xref linkend="
"\"Type_Mapping-The_jbosscmp_jdbc_type_mapping_element_content_model.\"/>."
msgstr ""
+"Customization of a database is done through the <literal>type-mapping</"
+"literal> section of the <literal>jbosscmp-jdbc.xml</literal> descriptor. The "
+"content model for the type-mapping element is given in <xref linkend="
+"\"Type_Mapping-The_jbosscmp_jdbc_type_mapping_element_content_model.\"/>."
#. Tag: title
#: The_CMP_Engine.xml:2661
#, no-c-format
msgid "The jbosscmp-jdbc type-mapping element content model."
-msgstr ""
+msgstr "The jbosscmp-jdbc type-mapping element content model."
#. Tag: para
#: The_CMP_Engine.xml:2669
-#, fuzzy, no-c-format
+#, no-c-format
msgid "The elements are:"
-msgstr "O elemento Host"
+msgstr "The elements are:"
#. Tag: para
#: The_CMP_Engine.xml:2674
@@ -8226,6 +8363,10 @@
"mapping by the <literal>datasource-mapping</literal> elements found in "
"defaults and entity."
msgstr ""
+"<emphasis role=\"bold\">name</emphasis>: This required element provides the "
+"name identifying the database customization. It is used to refer to the "
+"mapping by the <literal>datasource-mapping</literal> elements found in "
+"defaults and entity."
#. Tag: para
#: The_CMP_Engine.xml:2679
@@ -8236,24 +8377,28 @@
"create a row lock on the selected rows. The template must support three "
"arguments:"
msgstr ""
+"<emphasis role=\"bold\">row-locking-template</emphasis>: This required "
+"element gives the <literal>PreparedStatement</literal> template used to "
+"create a row lock on the selected rows. The template must support three "
+"arguments:"
#. Tag: para
#: The_CMP_Engine.xml:2684
#, no-c-format
msgid "the select clause"
-msgstr ""
+msgstr "the select clause"
#. Tag: para
#: The_CMP_Engine.xml:2689
#, no-c-format
msgid "the from clause. The order of the tables is currently not guaranteed"
-msgstr ""
+msgstr "the from clause. The order of the tables is currently not guaranteed"
#. Tag: para
#: The_CMP_Engine.xml:2694
#, no-c-format
msgid "the where clause"
-msgstr ""
+msgstr "the where clause"
#. Tag: para
#: The_CMP_Engine.xml:2699
@@ -8263,6 +8408,9 @@
"empty. The most common form of row locking is select for update as in: "
"<literal>SELECT ?1 FROM ?2 WHERE ?3 FOR UPDATE</literal>."
msgstr ""
+"If row locking is not supported in select statement this element should be "
+"empty. The most common form of row locking is select for update as in: "
+"<literal>SELECT ?1 FROM ?2 WHERE ?3 FOR UPDATE</literal>."
#. Tag: para
#: The_CMP_Engine.xml:2704
@@ -8273,6 +8421,10 @@
"create a primary key constraint in the create table statement. The template "
"must support two arguments"
msgstr ""
+"<emphasis role=\"bold\">pk-constraint-template</emphasis>: This required "
+"element gives the <literal>PreparedStatement</literal> template used to "
+"create a primary key constraint in the create table statement. The template "
+"must support two arguments"
#. Tag: para
#: The_CMP_Engine.xml:2709
@@ -8281,12 +8433,14 @@
"Primary key constraint name; which is always <literal>pk_{table-name}</"
"literal>"
msgstr ""
+"Primary key constraint name; which is always <literal>pk_{table-name}</"
+"literal>"
#. Tag: para
#: The_CMP_Engine.xml:2714
#, no-c-format
msgid "Comma separated list of primary key column names"
-msgstr ""
+msgstr "Comma separated list of primary key column names"
#. Tag: para
#: The_CMP_Engine.xml:2719
@@ -8296,18 +8450,21 @@
"statement this element should be empty. The most common form of a primary "
"key constraint is: <literal>CONSTRAINT ?1 PRIMARY KEY (?2)</literal>"
msgstr ""
+"If a primary key constraint clause is not supported in a create table "
+"statement this element should be empty. The most common form of a primary "
+"key constraint is: <literal>CONSTRAINT ?1 PRIMARY KEY (?2)</literal>"
#. Tag: para
#: The_CMP_Engine.xml:2724
-#, fuzzy, no-c-format
+#, no-c-format
msgid ""
"<emphasis role=\"bold\">fk-constraint-template</emphasis>: This is the "
"template used to create a foreign key constraint in separate statement. The "
"template must support five arguments:"
msgstr ""
-"<emphasis role=\"bold\">SessionIdAlphabet</emphasis>: Este é um conjunto de "
-"caracteres utilizado para criar uma sessão IDs. Deve ser constituído de "
-"exatamente 65 caracteres únicos. "
+"<emphasis role=\"bold\">fk-constraint-template</emphasis>: This is the "
+"template used to create a foreign key constraint in separate statement. The "
+"template must support five arguments:"
#. Tag: para
#: The_CMP_Engine.xml:2729
More information about the jboss-cvs-commits
mailing list