[jboss-cvs] JBossAS SVN: r92221 - 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
Tue Aug 11 03:04:31 EDT 2009


Author: ldelima at redhat.com
Date: 2009-08-11 03:04:31 -0400 (Tue, 11 Aug 2009)
New Revision: 92221

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-11 07:01:05 UTC (rev 92220)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/The_CMP_Engine.po	2009-08-11 07:04:31 UTC (rev 92221)
@@ -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-11 16:56+1000\n"
+"PO-Revision-Date: 2009-08-11 17:04+1000\n"
 "Last-Translator: \n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -6077,6 +6077,12 @@
 "JavaBeans Specification, but the last one is specific to JBoss. A detailed "
 "description of each commit option follows:"
 msgstr ""
+"Central to the loading process are the commit options, which control when "
+"the data for an entity expires. JBoss supports four commit options "
+"<literal>A</literal>, <literal>B</literal>, <literal>C</literal> and "
+"<literal>D</literal>. The first three are described in the Enterprise "
+"JavaBeans Specification, but the last one is specific to JBoss. A detailed "
+"description of each commit option follows:"
 
 #. Tag: para
 #: The_CMP_Engine.xml:1888
@@ -7022,7 +7028,7 @@
 #: The_CMP_Engine.xml:2341
 #, no-c-format
 msgid "No Transaction on-find optimized query execution"
-msgstr ""
+msgstr "No Transaction on-find optimized query execution"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2348
@@ -8254,6 +8260,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
@@ -8264,6 +8274,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
@@ -8274,12 +8288,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
@@ -8294,12 +8312,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
@@ -8310,18 +8336,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
 #, no-c-format
 msgid "The elements are:"
-msgstr ""
+msgstr "The elements are:"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2674
@@ -8332,6 +8362,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
@@ -8342,24 +8376,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
@@ -8369,6 +8407,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
@@ -8379,6 +8420,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
@@ -8387,12 +8432,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
@@ -8402,6 +8449,9 @@
 "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
@@ -8411,12 +8461,15 @@
 "template used to create a foreign key constraint in separate statement. The "
 "template must support five arguments:"
 msgstr ""
+"<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
 #, no-c-format
 msgid "Table name"
-msgstr ""
+msgstr "Table name"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2734
@@ -8425,24 +8478,26 @@
 "Foreign key constraint name; which is always <literal>fk_{table-name}_{cmr-"
 "field-name}</literal>"
 msgstr ""
+"Foreign key constraint name; which is always <literal>fk_{table-name}_{cmr-"
+"field-name}</literal>"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2739
 #, no-c-format
 msgid "Comma separated list of foreign key column names"
-msgstr ""
+msgstr "Comma separated list of foreign key column names"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2744
 #, no-c-format
 msgid "References table name"
-msgstr ""
+msgstr "References table name"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2749
 #, no-c-format
 msgid "Comma separated list of the referenced primary key column names"
-msgstr ""
+msgstr "omma separated list of the referenced primary key column names"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2754
@@ -8453,6 +8508,10 @@
 "<literal>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)"
 "</literal>."
 msgstr ""
+"f the datasource does not support foreign key constraints this element "
+"should be empty. The most common form of a foreign key constraint is: "
+"<literal>ALTER TABLE ?1 ADD CONSTRAINT ?2 FOREIGN KEY (?3) REFERENCES ?4 (?5)"
+"</literal>."
 
 #. Tag: para
 #: The_CMP_Engine.xml:2759
@@ -8473,24 +8532,28 @@
 "column to an existing table. The default value is <literal>ALTER TABLE ?1 "
 "ADD ?2 ?3</literal>. The parameters are:"
 msgstr ""
+"<emphasis role=\"bold\">add-column-template</emphasis>: When <literal>alter-"
+"table</literal> is true, this SQL template specifies the syntax for adding a "
+"column to an existing table. The default value is <literal>ALTER TABLE ?1 "
+"ADD ?2 ?3</literal>. The parameters are:"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2769 The_CMP_Engine.xml:2791 The_CMP_Engine.xml:2813
 #, no-c-format
 msgid "the table name"
-msgstr ""
+msgstr "the table name"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2774 The_CMP_Engine.xml:2796 The_CMP_Engine.xml:2818
 #, no-c-format
 msgid "the column name"
-msgstr ""
+msgstr " column name"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2779 The_CMP_Engine.xml:2801
 #, no-c-format
 msgid "the column type"
-msgstr ""
+msgstr "the column type"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2786
@@ -8501,6 +8564,10 @@
 "syntax for dropping a column to from an existing table. The default value is "
 "<literal>ALTER TABLE ?1 ALTER ?2 TYPE ?3</literal>. The parameters are:"
 msgstr ""
+"<emphasis role=\"bold\">alter-column-template</emphasis>: When "
+"<literal>alter-table</literal> is true, this SQL template specifies the "
+"syntax for dropping a column to from an existing table. The default value is "
+"<literal>ALTER TABLE ?1 ALTER ?2 TYPE ?3</literal>. The parameters are:"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2808
@@ -8511,6 +8578,10 @@
 "a column to from an existing table. The default value is <literal>ALTER "
 "TABLE ?1 DROP ?2</literal>. The parameters are:"
 msgstr ""
+"<emphasis role=\"bold\">drop-column-template</emphasis>: When <literal>alter-"
+"table</literal> is true, this SQL template specifies the syntax for dropping "
+"a column to from an existing table. The default value is <literal>ALTER "
+"TABLE ?1 DROP ?2</literal>. The parameters are:"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2825
@@ -8524,6 +8595,13 @@
 "<literal>t0_</literal> for an alias-header-prefix of \"<literal>t</literal>"
 "\" and an alias-header-suffix of \"<literal>_</literal>\"."
 msgstr ""
+"<emphasis role=\"bold\">alias-header-prefix</emphasis>: This required "
+"element gives the prefix used in creating the alias header. An alias header "
+"is prepended to a generated table alias by the EJB-QL compiler to prevent "
+"name collisions. The alias header is constructed as follows: alias-header-"
+"prefix + int_counter + alias-header-suffix. An example alias header would be "
+"<literal>t0_</literal> for an alias-header-prefix of \"<literal>t</literal>"
+"\" and an alias-header-suffix of \"<literal>_</literal>\"."
 
 #. Tag: para
 #: The_CMP_Engine.xml:2830
@@ -8556,6 +8634,11 @@
 "<literal>subquery-supported</literal> is false, the EJB-QL compiler will use "
 "a left join and is null."
 msgstr ""
+"<emphasis role=\"bold\">subquery-supported</emphasis>: This required element "
+"specifies if this <literal>type-mapping</literal> subqueries as either true "
+"or false. Some EJB-QL operators are mapped to exists subqueries. If "
+"<literal>subquery-supported</literal> is false, the EJB-QL compiler will use "
+"a left join and is null."
 
 #. Tag: para
 #: The_CMP_Engine.xml:2845
@@ -8592,6 +8675,10 @@
 "implementation. See <xref linkend=\"Datasource_Customization-Function_Mapping"
 "\"/> for the details."
 msgstr ""
+"<emphasis role=\"bold\">function-mapping</emphasis>: This optional element "
+"specifies one or more the mappings from an EJB-QL function to an SQL "
+"implementation. See <xref linkend=\"Datasource_Customization-Function_Mapping"
+"\"/> for the details."
 
 #. Tag: para
 #: The_CMP_Engine.xml:2860
@@ -8601,24 +8688,27 @@
 "the mappings from a Java type to the corresponding JDBC and SQL type. See "
 "<xref linkend=\"Datasource_Customization-Mapping\"/> for the details."
 msgstr ""
+"<emphasis role=\"bold\">mapping</emphasis>: This required element specifies "
+"the mappings from a Java type to the corresponding JDBC and SQL type. See "
+"<xref linkend=\"Datasource_Customization-Mapping\"/> for the details."
 
 #. Tag: title
 #: The_CMP_Engine.xml:2868
 #, no-c-format
 msgid "Function Mapping"
-msgstr ""
+msgstr "Function Mapping"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2869
 #, no-c-format
 msgid "The function-mapping element model is show below."
-msgstr ""
+msgstr "e function-mapping element model is show below."
 
 #. Tag: title
 #: The_CMP_Engine.xml:2873
 #, no-c-format
 msgid "The jbosscmp-jdbc function-mapping element content model"
-msgstr ""
+msgstr "he jbosscmp-jdbc function-mapping element content model"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2880
@@ -8648,12 +8738,17 @@
 "2)</literal>, <literal>concat(?1, ?2)</literal>, <literal>(?1 + ?2)</"
 "literal>."
 msgstr ""
+"<emphasis role=\"bold\">function-sql</emphasis>: This required element gives "
+"the SQL for the function as appropriate for the underlying database. "
+"Examples for a <literal>concat</literal> function include: <literal>(?1 || ?"
+"2)</literal>, <literal>concat(?1, ?2)</literal>, <literal>(?1 + ?2)</"
+"literal>."
 
 #. Tag: title
 #: The_CMP_Engine.xml:2898
 #, no-c-format
 msgid "Mapping"
-msgstr ""
+msgstr "pping"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2899
@@ -8665,12 +8760,17 @@
 "in <xref linkend=\"Mapping-The_jbosscmp_jdbc_mapping_element_content_model."
 "\"/>."
 msgstr ""
+"A <literal>type-mapping</literal> is simply a set of mappings between Java "
+"class types and database types. A set of type mappings is defined by a set "
+"of <literal>mapping</literal> elements, the content model for which is shown "
+"in <xref linkend=\"Mapping-The_jbosscmp_jdbc_mapping_element_content_model."
+"\"/>."
 
 #. Tag: title
 #: The_CMP_Engine.xml:2903
 #, no-c-format
 msgid "The jbosscmp-jdbc mapping element content model."
-msgstr ""
+msgstr "he jbosscmp-jdbc mapping element content model."
 
 #. Tag: para
 #: The_CMP_Engine.xml:2910
@@ -8680,6 +8780,9 @@
 "use the <literal>java.lang.Object</literal> mapping. The following describes "
 "the three child elements of the mapping element:"
 msgstr ""
+"If JBoss cannot find a mapping for a type, it will serialize the object and "
+"use the <literal>java.lang.Object</literal> mapping. The following describes "
+"the three child elements of the mapping element:"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2915
@@ -8690,6 +8793,10 @@
 "primitive wrapper class such as <literal>java.lang.Short</literal>, the "
 "mapping also applies to the primitive type."
 msgstr ""
+"<emphasis role=\"bold\">java-type</emphasis>: This required element gives "
+"the fully qualified name of the Java class to be mapped. If the class is a "
+"primitive wrapper class such as <literal>java.lang.Short</literal>, the "
+"mapping also applies to the primitive type."
 
 #. Tag: para
 #: The_CMP_Engine.xml:2920
@@ -8701,6 +8808,11 @@
 "<literal>ResultSet</literal>. The valid types are defined in <literal>java."
 "sql.Types</literal>."
 msgstr ""
+"<emphasis role=\"bold\">jdbc-type</emphasis>: This required element gives "
+"the JDBC type that is used when setting parameters in a JDBC "
+"<literal>PreparedStatement</literal> or loading data from a JDBC "
+"<literal>ResultSet</literal>. The valid types are defined in <literal>java."
+"sql.Types</literal>."
 
 #. Tag: para
 #: The_CMP_Engine.xml:2925
@@ -8710,6 +8822,9 @@
 "SQL type that is used in create table statements. Valid types are only "
 "limited by your database vendor."
 msgstr ""
+"<emphasis role=\"bold\">sql-type</emphasis>: This required element gives the "
+"SQL type that is used in create table statements. Valid types are only "
+"limited by your database ve"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2930
@@ -8739,7 +8854,7 @@
 #: The_CMP_Engine.xml:2940
 #, no-c-format
 msgid "An example mapping element for a short in Oracle9i is shown below."
-msgstr ""
+msgstr "An example mapping element for a short in Oracle9i is shown below."
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:2943
@@ -8759,12 +8874,25 @@
 "    &lt;/type-mappings&gt;\n"
 "&lt;/jbosscmp-jdbc&gt;"
 msgstr ""
+"&lt;jbosscmp-jdbc&gt;\n"
+"    &lt;type-mappings&gt;\n"
+"        &lt;type-mapping&gt;\n"
+"            &lt;name&gt;Oracle9i&lt;/name&gt;\n"
+"            &lt;!--...--&gt;\n"
+"            &lt;mapping&gt;\n"
+"                &lt;java-type&gt;java.lang.Short&lt;/java-type&gt;\n"
+"                &lt;jdbc-type&gt;NUMERIC&lt;/jdbc-type&gt;\n"
+"                &lt;sql-type&gt;NUMBER(5)&lt;/sql-type&gt;\n"
+"            &lt;/mapping&gt;\n"
+"        &lt;/type-mapping&gt;\n"
+"    &lt;/type-mappings&gt;\n"
+"&lt;/jbosscmp-jdbc&gt;"
 
 #. Tag: title
 #: The_CMP_Engine.xml:2947
 #, no-c-format
 msgid "User Type Mappings"
-msgstr ""
+msgstr "User Type Mappings"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2948
@@ -8774,6 +8902,9 @@
 "fields types by specifying an instance of <literal>org.jboss.ejb.plugins.cmp."
 "jdbc.Mapper</literal> interface, the definition of which is shown below."
 msgstr ""
+"ser type mappings allow one to map from JDBC column types to custom CMP "
+"fields types by specifying an instance of <literal>org.jboss.ejb.plugins.cmp."
+"jdbc.Mapper</literal> interface, the definition of which is shown below."
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:2951
@@ -8796,6 +8927,22 @@
 "    Object toFieldValue(Object columnValue);\n"
 "}"
 msgstr ""
+"public interface Mapper\n"
+"{\n"
+"    /**\n"
+"     * This method is called when CMP field is stored.\n"
+"     * @param fieldValue - CMP field value\n"
+"     * @return column value.\n"
+"     */\n"
+"    Object toColumnValue(Object fieldValue);    \n"
+"\n"
+"    /** \n"
+"     * This method is called when CMP field is loaded.\n"
+"     * @param columnValue - loaded column value.\n"
+"     * @return CMP field value.\n"
+"     */\n"
+"    Object toFieldValue(Object columnValue);\n"
+"}"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2952
@@ -8807,12 +8954,17 @@
 "mapping</literal> elements, the content model of which is shown in <xref "
 "linkend=\"User_Type_Mappings-The_user_type_mapping_content_model_\"/>."
 msgstr ""
+"A prototypical use case is the mapping of an integer type to its type-safe "
+"Java enumeration instance. The content model of the <literal>user-type-"
+"mappings</literal> element consists of one or more <literal>user-type-"
+"mapping</literal> elements, the content model of which is shown in <xref "
+"linkend=\"User_Type_Mappings-The_user_type_mapping_content_model_\"/>."
 
 #. Tag: title
 #: The_CMP_Engine.xml:2957
 #, no-c-format
 msgid "The user-type-mapping content model &gt;"
-msgstr ""
+msgstr "he user-type-mapping content model &gt;"
 
 #. Tag: para
 #: The_CMP_Engine.xml:2967




More information about the jboss-cvs-commits mailing list