[jboss-cvs] JBossAS SVN: r91671 - 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 Jul 27 03:06:48 EDT 2009


Author: ldelima at redhat.com
Date: 2009-07-27 03:06:47 -0400 (Mon, 27 Jul 2009)
New Revision: 91671

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-27 06:14:02 UTC (rev 91670)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/The_CMP_Engine.po	2009-07-27 07:06:47 UTC (rev 91671)
@@ -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-24 15:44+1000\n"
+"PO-Revision-Date: 2009-07-27 17:06+1000\n"
 "Last-Translator: \n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -294,6 +294,7 @@
 "t0_GangsterEJB.id FRO\n"
 "M GANGSTER t0_GangsterEJB WHERE t0_GangsterEJB.id=?"
 msgstr ""
+"22:30:09,947 DEBUG [StatelessSessionContainer] Useless invocation of remove"
 "() for stateless s\n"
 "ession bean\n"
 "22:30:10,086 DEBUG [GangsterEJB#findBadDudes_ejbql] Executing SQL: SELECT "
@@ -312,7 +313,7 @@
 msgid ""
 "These tests exercise various finders, selectors and object to table mapping "
 "issues. We will refer to the tests throughout the chapter."
-msgstr "Estes testes exercitam diversos inventores, selecionadores e objeto para os problemas de mapeamento da tabela. Nós iremos referir a estes testes durante este capítulo. "
+msgstr "Estes testes exercitam diversos localizadores, selecionadores e objeto para os problemas de mapeamento da tabela. Nós iremos referir a estes testes durante este capítulo. "
 
 #. Tag: para
 #: The_CMP_Engine.xml:60
@@ -3839,11 +3840,8 @@
 "the generated SQL. The following generates a JBossQL query that selects all "
 "the gangsters that have a hangout in any state in the states set:"
 msgstr ""
-"DynamicQL se "
-"DynamicQL query method is an abstract method that takes a JBossQL query and "
-"the query arguments as parameters. JBoss compiles the JBossQL and executes "
-"the generated SQL. The following generates a JBossQL query that selects all "
-"the gangsters that have a hangout in any state in the states set:"
+"O DynamicQL permite a geração runtime e execução das consultas do JBossQL. O método de consulta DynamicQL é um método abstrato que leva a consulta "
+"JBossQL e os argumentos de consulta como parâmetros. O JBoss compila o JBossQL e executa o SQL gerado. O exemplo abaixo gera uma consulta JBossQL que seleciona todos os gangsters que possuem uma parada em qualquer estado no conjunto de estados:"
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:952
@@ -3918,12 +3916,7 @@
 "DynamicQL is declared in the <literal>jbosscmp-jdbc.xml</literal> file with "
 "an empty <literal>dynamic-ql</literal> element. The following is the "
 "declaration for <literal>ejbSelectGeneric</literal>."
-msgstr ""
-"The DynamicQL select method may have any valid select method name, but the "
-"method must always take a string and an object array as parameters. "
-"DynamicQL is declared in the <literal>jbosscmp-jdbc.xml</literal> file with "
-"an empty <literal>dynamic-ql</literal> element. The following is the "
-"declaration for <literal>ejbSelectGeneric</literal>."
+msgstr "O método de seleção DynamicQL pode possuir o nome do método, mas o método deve sempre obter a seqüência e um array de objeto como parâmetros. O DynamicQL é declarado no arquivo <literal>jbosscmp-jdbc.xml</literal> com um elemento <literal>dynamic-ql</literal> vazio. Segue abaixo a declaração para <literal>ejbSelectGeneric</literal>."
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:956
@@ -3986,18 +3979,14 @@
 "in <xref linkend=\"DeclaredSQL-"
 "The_jbosscmp_jdbc_declared_sql_element_content_model.\"/>."
 msgstr ""
-"DeclaredSQL is based on the legacy JAWS CMP 1.1 engine finder declaration, "
-"but has been updated for CMP 2.0. Commonly this declaration is used to limit "
-"a query with a <literal>WHERE</literal> clause that cannot be represented in "
-"q EJB-QL or JBossQL. The content model for the declared-sql element is given "
-"in <xref linkend=\"DeclaredSQL-"
+"O DeclaredSQL é baseado na declaração do localizador de mecanismo JAWS CMP 1.1 de legacia, mas foi atualizado para CMP 2.0. Normalmente esta declaração é usada para limitar uma consulta com uma cláusula <literal>WHERE</literal>  que não pode ser representada no EJB-QL ou JBossQL. O modelo do conteúdo para o elemento declared-sql é gerado no <xref linkend=\"DeclaredSQL-"
 "The_jbosscmp_jdbc_declared_sql_element_content_model.\"/>."
 
 #. Tag: title
 #: The_CMP_Engine.xml:965
 #, no-c-format
 msgid "The jbosscmp-jdbc declared-sql element content model.&gt;"
-msgstr "The jbosscmp-jdbc declared-sql element content model.&gt;"
+msgstr "O modelo do conteúdo do elemento jbosscmp-jdbc declared-sql.&gt;"
 
 #. Tag: para
 #: The_CMP_Engine.xml:974
@@ -4007,9 +3996,8 @@
 "element specifies what is to be selected and consists of the following "
 "elements:"
 msgstr ""
-"<emphasis role=\"bold\">select</emphasis>: The <literal>select</literal> "
-"element specifies what is to be selected and consists of the following "
-"elements:"
+"<emphasis role=\"bold\">select</emphasis>: O elemento <literal>select</literal> "
+"especifica o que deve ser selecionado e consiste dos seguintes elementos:"
 
 #. Tag: para
 #: The_CMP_Engine.xml:979
@@ -4021,11 +4009,9 @@
 "<literal>DISTINCT</literal> if method returns a <literal>java.util.Set</"
 "literal>"
 msgstr ""
-"<emphasis role=\"bold\">distinct</emphasis>: If this empty element is "
-"present, JBoss will add the <literal>DISTINCT</literal> keyword to the "
-"generated <literal>SELECT</literal> clause. The default is to use "
-"<literal>DISTINCT</literal> if method returns a <literal>java.util.Set</"
-"literal>"
+"<emphasis role=\"bold\">distinct</emphasis>: Caso este elemento vazio estiver presente, o JBoss adicionará a palavra chave <literal>DISTINCT</literal> à cláusula <literal>SELECT</literal>. O padrão é o uso do  "
+"<literal>DISTINCT</literal> caso o método retornar um <literal>java.util.Set</"
+"literal>."
 
 #. Tag: para
 #: The_CMP_Engine.xml:984
@@ -4035,9 +4021,8 @@
 "literal> of the entity that will be selected. This is only required if the "
 "query is for a select method."
 msgstr ""
-"<emphasis role=\"bold\">ejb-name</emphasis>: This is the <literal>ejb-name</"
-"literal> of the entity that will be selected. This is only required if the "
-"query is for a select method."
+"<emphasis role=\"bold\">ejb-name</emphasis>: Este é o <literal>ejb-name</"
+"literal> da entidade que será selecionada. Isto é apenas solicitado caso a consulta for o método de seleção. "
 
 #. Tag: para
 #: The_CMP_Engine.xml:989
@@ -4046,21 +4031,18 @@
 "<emphasis role=\"bold\">field-name</emphasis>: This is the name of the CMP "
 "field that will be selected from the specified entity. The default is to "
 "select entire entity."
-msgstr ""
-"<emphasis role=\"bold\">field-name</emphasis>: This is the name of the CMP "
-"field that will be selected from the specified entity. The default is to "
-"select entire entity."
+msgstr "<emphasis role=\"bold\">field-name</emphasis>: Este é o nome da campo CMP que será selecionado a partir da entidade especificada. O padrão é selecionar a entidade por completa."
 
 #. Tag: para
 #: The_CMP_Engine.xml:994
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "<emphasis role=\"bold\">alias</emphasis>: This specifies the alias that will "
 "be used for the main select table. The default is to use the <literal>ejb-"
 "name</literal>."
 msgstr ""
-"<emphasis role=\"bold\">mcast_port</emphasis> especifica o número da porta "
-"multicast. O padrão é <literal>45566</literal>."
+"<emphasis role=\"bold\">alias</emphasis>: Isto especifica o alias que será usado para a tabela de seleção principal. O padrão é usar o <literal>ejb-"
+"name</literal>."
 
 #. Tag: para
 #: The_CMP_Engine.xml:999
@@ -4069,10 +4051,7 @@
 "<emphasis role=\"bold\">additional-columns</emphasis>: Declares other "
 "columns to be selected to satisfy ordering by arbitrary columns with finders "
 "or to facilitate aggregate functions in selects."
-msgstr ""
-"<emphasis role=\"bold\">additional-columns</emphasis>: Declares other "
-"columns to be selected to satisfy ordering by arbitrary columns with finders "
-"or to facilitate aggregate functions in selects."
+msgstr "<emphasis role=\"bold\">additional-columns</emphasis>: Declara outras colunas a serem selecionadas para satisfazer a solicitação pelas colunas arbitrárias com os localizadores ou para facilitar as funções agregadas nas seleções."
 
 #. Tag: para
 #: The_CMP_Engine.xml:1006
@@ -4081,10 +4060,7 @@
 "<emphasis role=\"bold\">from</emphasis>: The <literal>from</literal> element "
 "declares additional SQL to append to the generated <literal>FROM</literal> "
 "clause."
-msgstr ""
-"<emphasis role=\"bold\">from</emphasis>: The <literal>from</literal> element "
-"declares additional SQL to append to the generated <literal>FROM</literal> "
-"clause."
+msgstr "<emphasis role=\"bold\">from</emphasis>: O elemento <literal>from</literal> declara o SQL adicional anexar à cláusula <literal>FROM</literal> gerada."
 
 #. Tag: para
 #: The_CMP_Engine.xml:1011
@@ -4093,8 +4069,8 @@
 "<emphasis role=\"bold\">where</emphasis>: The <literal>where</literal> "
 "element declares the <literal>WHERE</literal> clause for the query."
 msgstr ""
-"<emphasis role=\"bold\">where</emphasis>: The <literal>where</literal> "
-"element declares the <literal>WHERE</literal> clause for the query."
+"<emphasis role=\"bold\">where</emphasis>: O elemento <literal>where</literal> "
+"declara a cláusula <literal>WHERE</literal> para consulta."
 
 #. Tag: para
 #: The_CMP_Engine.xml:1016
@@ -4103,8 +4079,8 @@
 "<emphasis role=\"bold\">order</emphasis>: The <literal>order</literal> "
 "element declares the <literal>ORDER</literal> clause for the query."
 msgstr ""
-"<emphasis role=\"bold\">order</emphasis>: The <literal>order</literal> "
-"element declares the <literal>ORDER</literal> clause for the query."
+"<emphasis role=\"bold\">order</emphasis>:O elemento <literal>order</literal> "
+"declara a cláusula <literal>ORDER</literal> para consulta."
 
 #. Tag: para
 #: The_CMP_Engine.xml:1021
@@ -4113,14 +4089,14 @@
 "<emphasis role=\"bold\">other</emphasis>: The <literal>other</literal> "
 "element declares additional SQL that is appended to the end of the query."
 msgstr ""
-"<emphasis role=\"bold\">other</emphasis>: The <literal>other</literal> "
-"element declares additional SQL that is appended to the end of the query."
+"<emphasis role=\"bold\">other</emphasis>: O elemento <literal>other</literal> "
+"declara o SQL adicional que é anexado ao final da consulta."
 
 #. Tag: para
 #: The_CMP_Engine.xml:1026
 #, no-c-format
 msgid "The following is an example DeclaredSQL declaration."
-msgstr "The following is an example DeclaredSQL declaration."
+msgstr "Segue abaixo um exemplo da declaração DeclaredSQL."
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:1029
@@ -4176,7 +4152,7 @@
 #: The_CMP_Engine.xml:1030 The_CMP_Engine.xml:1038 The_CMP_Engine.xml:1641
 #, no-c-format
 msgid "The generated SQL would be:"
-msgstr "The generated SQL would be:"
+msgstr "O SQL gerado será:"
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:1033
@@ -4195,6 +4171,7 @@
 #. Tag: para
 #: The_CMP_Engine.xml:1034
 #, no-c-format
+#, fuzzy
 msgid ""
 "As you can see, JBoss generates the <literal>SELECT</literal> and "
 "<literal>FROM</literal> clauses necessary to select the primary key for this "
@@ -4203,10 +4180,8 @@
 "<literal>FROM</literal> clause. The following is example DeclaredSQL "
 "declaration with an additional <literal>FROM</literal> clause."
 msgstr ""
-"As you can see, JBoss generates the <literal>SELECT</literal> and "
-"<literal>FROM</literal> clauses necessary to select the primary key for this "
-"entity. If desired an additional <literal>FROM</literal> clause can be "
-"specified that is appended to the end of the automatically generated "
+"Como você pode perceber, o JBoss gera as cláusulas <literal>SELECT</literal> e "
+"<literal>FROM</literal> necessárias para selecionar a chave primária para esta entidade. Caso desejado uma cláusula <literal>FROM</literal> adicional pode ser especificada "
 "<literal>FROM</literal> clause. The following is example DeclaredSQL "
 "declaration with an additional <literal>FROM</literal> clause."
 
@@ -4310,21 +4285,10 @@
 "literal> declaration. The DeclaredSQL declaration can also be used in select "
 "methods to select a CMP field."
 msgstr ""
-"Notice that the <literal>FROM</literal> clause starts with a comma. This is "
-"because the container appends the declared <literal>FROM</literal> clause to "
-"the end of the generated <literal>FROM</literal> clause. It is also possible "
-"for the <literal>FROM</literal> clause to start with a SQL <literal>JOIN</"
-"literal> statement. Since this is a select method, it must have a "
-"<literal>select</literal> element to declare the entity that will be "
-"selected. Note that an alias is also declared for the query. If an alias is "
-"not declared, the <literal>table-name</literal> is used as the alias, "
-"resulting in a <literal>SELECT</literal> clause with the <literal>table_name."
-"field_name</literal> style column declarations. Not all database vendors "
-"support the that syntax, so the declaration of an alias is preferred. The "
-"optional empty <literal>distinct</literal> element causes the "
-"<literal>SELECT</literal> clause to use the <literal>SELECT DISTINCT</"
-"literal> declaration. The DeclaredSQL declaration can also be used in select "
-"methods to select a CMP field."
+"Perceba que a cláusula <literal>FROM</literal> inicializa com uma vírgula. Isto é devido ao container anexar a cláusula <literal>FROM</literal> declarada ao final da cláusula <literal>FROM</literal> gerada. É também possível para a cláusula <literal>FROM</literal> inicializar com uma declaração <literal>JOIN</"
+"literal> SQL. Uma vez que isto é o método selecionar, ele deve ter um elemento <literal>select</literal> para declarar a entidade que será selecionada. Note que um alias é também declarado para a consulta. Caso um alias não seja declarado, o <literal>table-name</literal> será usado como um alias, resultando numa cláusula <literal>SELECT</literal> com as declarações da coluna de estilo <literal>table_name."
+"field_name</literal>. Nem todos os bancos de dados suportam esta sintaxe, de forma que a declaração de um alias é preferida. O elemento opcional <literal>distinct</literal> vazio leva ao uso da declaração <literal>SELECT DISTINCT</"
+"literal>. A declaração DeclaredSQL pode ser usada nos métodos de seleção para seleção de um campo CMP."
 
 #. Tag: para
 #: The_CMP_Engine.xml:1045
@@ -4332,9 +4296,7 @@
 msgid ""
 "Now we well see an example which overrides a select to return all of the zip "
 "codes an <literal>Organization</literal> operates in."
-msgstr ""
-"Now we well see an example which overrides a select to return all of the zip "
-"codes an <literal>Organization</literal> operates in."
+msgstr "Veremos agora um exemplo que substitui uma seleção para retorno de todos os códigos comprimidos que um <literal>Organization</literal> opera."
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:1048
@@ -4396,7 +4358,7 @@
 #: The_CMP_Engine.xml:1049
 #, no-c-format
 msgid "The corresponding SQL would be:"
-msgstr "The corresponding SQL would be:"
+msgstr "O SQL correspondente deve ser:"
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:1052
@@ -4428,11 +4390,7 @@
 "entity and DVC parameters. Parameters are enclosed in curly brackets and use "
 "a zero-based index, which is different from the one-based EJB-QL parameters. "
 "There are three categories of parameters: simple, DVC, and entity."
-msgstr ""
-"DeclaredSQL uses a completely new parameter handling system, which supports "
-"entity and DVC parameters. Parameters are enclosed in curly brackets and use "
-"a zero-based index, which is different from the one-based EJB-QL parameters. "
-"There are three categories of parameters: simple, DVC, and entity."
+msgstr "O DeclaredSQL usa um sistema completamente novo de manuseamento que suporta a entidade e os parâmetros DVC. Os parâmetros são incluídos nas chaves e usam um indexe baseado em zero, que é diferente dos parâmetros EJB-QL baseados em um. Existem três deferentes categorias de parâmetros: simples, DVC e entidade."
 
 #. Tag: para
 #: The_CMP_Engine.xml:1060
@@ -4445,14 +4403,7 @@
 "the <literal>datasourcemapping</literal> for the entity. An unknown DVC is "
 "serialized and then set as a parameter. Note that most databases do not "
 "support the use of a BLOB value in a WHERE clause."
-msgstr ""
-"<emphasis role=\"bold\">simple</emphasis>: A simple parameter can be of any "
-"type except for a known (mapped) DVC or an entity. A simple parameter only "
-"contains the argument number, such as <literal>{0}</literal>. When a simple "
-"parameter is set, the JDBC type used to set the parameter is determined by "
-"the <literal>datasourcemapping</literal> for the entity. An unknown DVC is "
-"serialized and then set as a parameter. Note that most databases do not "
-"support the use of a BLOB value in a WHERE clause."
+msgstr "<emphasis role=\"bold\">simple</emphasis>: Um parâmetro simples pode ser qualquer tipo de exceção para um DVC conhecido (mapeado) ou uma entidade. Um parâmetro simples apenas contém um número de argumento, tal como <literal>{0}</literal>. Quando um parâmetro simples for configurado, o tipo JDBC usado para configurar o parâmetro é determinado pelo <literal>datasourcemapping</literal> para a entidade. Um DVC é serializado e então configurado como um parâmetro. Perceba que a maioria dos bancos de dados não suportam o uso do valor BLOB numa cláusula WHERE."
 
 #. Tag: para
 #: The_CMP_Engine.xml:1065
@@ -4469,16 +4420,9 @@
 "type that is declared for that property in the <literal>dependent-value-"
 "class</literal> element."
 msgstr ""
-"<emphasis role=\"bold\">DVC</emphasis>: A DVC parameter can be any known "
-"(mapped) DVC. A DVC parameter must be dereferenced down to a simple property "
-"(one that is not another DVC). For example, if we had a CVS property of type "
-"<literal>ContactInfo</literal>, valid parameter declarations would be "
-"<literal>{0.email}</literal> and <literal>{0.cell.areaCode}</literal> but "
-"not <literal>{0.cell}</literal>. The JDBC type used to set a parameter is "
-"based on the class type of the property and the <literal>datasourcemapping</"
-"literal> of the entity. The JDBC type used to set the parameter is the JDBC "
-"type that is declared for that property in the <literal>dependent-value-"
-"class</literal> element."
+"<emphasis role=\"bold\">DVC</emphasis>: Um parâmetro pode ser qualquer DVC conhecido (mapeado). Um parâmetro DVC deve ser desreferenciado para uma simples propriedade (uma que não seja outro DVC). Por exemplo, caso nós tenhamos uma propriedade CVS do tipo <literal>ContactInfo</literal>, as declarações do parâmetro seriam <literal>{0.email}</literal> e <literal>{0.cell.areaCode}</literal> e não <literal>{0.cell}</literal>. O tipo JDBC usado para configurar o parâmetro, é baseado no tipo de classe da propriedade e o <literal>datasourcemapping</"
+"literal> da entidade. O tipo JDBC usado para configurar o parâmetro é o tipo JDBC que é declarado para aquela propriedade no elemento <literal>dependent-value-"
+"class</literal>. "
 
 #. Tag: para
 #: The_CMP_Engine.xml:1070
@@ -4496,25 +4440,13 @@
 "restriction may be removed in later versions). The JDBC type used to set the "
 "parameter is the JDBC type that is declared for that field in the entity "
 "declaration."
-msgstr ""
-"<emphasis role=\"bold\">entity</emphasis>: An entity parameter can be any "
-"entity in the application. An entity parameter must be dereferenced down to "
-"a simple primary key field or simple property of a DVC primary key field. "
-"For example, if we had a parameter of type <literal>Gangster</literal>, a "
-"valid parameter declaration would be <literal>{0.gangsterId}</literal>. If "
-"we had some entity with a primary key field named info of type "
-"<literal>ContactInfo</literal>, a <literal>valid parameter</literal> "
-"declaration would be <literal>{0.info.cell.areaCode}</literal>. Only fields "
-"that are members of the primary key of the entity can be dereferenced (this "
-"restriction may be removed in later versions). The JDBC type used to set the "
-"parameter is the JDBC type that is declared for that field in the entity "
-"declaration."
+msgstr "<emphasis role=\"bold\">entity</emphasis>: Um parâmetro de entidade pode ser qualquer entidade no aplicativo. Um parâmetro de entidade deve ser desreferenciado a um campo chave primário simples ou uma propriedade simples de um campo chave primário DVC. Por exemplo, se nós possuirmos um parâmetro do tipo <literal>Gangster</literal>, uma declaração de parâmetro válido será <literal>{0.gangsterId}</literal>. Caso nós tivermos alguma entidade com info de campo chave primário nomeado do tipo <literal>ContactInfo</literal>, uma declaração <literal>valid parameter</literal> será <literal>{0.info.cell.areaCode}</literal>. Apenas campos que são membros da chave primária da entidade podem ser desreferenciados (esta restrição poderá ser removida nas versões seguintes). O tipo JDBC usado para configurar o parâmetro que é declarado para aquele campo na declaração da entidade."
 
 #. Tag: title
 #: The_CMP_Engine.xml:1080
 #, no-c-format
 msgid "EJBQL 2.1 and SQL92 queries"
-msgstr "EJBQL 2.1 and SQL92 queries"
+msgstr "EJBQL 2.1 e consultas SQL92"
 
 #. Tag: para
 #: The_CMP_Engine.xml:1081
@@ -4525,9 +4457,8 @@
 "compiler. The default compiler is specified in <literal>standardjbosscmp-"
 "jdbc.xml</literal>."
 msgstr ""
-"The default query compiler doesn&#39;t fully support EJB-QL 2.1 or the SQL92 "
-"standard. If you need either of these functions, you can replace the query "
-"compiler. The default compiler is specified in <literal>standardjbosscmp-"
+"O compilador de consulta padrão não suporta por inteiro o EJB-QL 2.1 ou o SQL92 "
+"padrão. Caso você necessite qualquer uma destas funções, você pode substituir o compilador de consulta. O compilador padrão é especificado no <literal>standardjbosscmp-"
 "jdbc.xml</literal>."
 
 #. Tag: programlisting
@@ -4555,8 +4486,8 @@
 "To use the SQL92 compiler, simply specify the SQL92 compiler in <literal>ql-"
 "compiler</literal> element."
 msgstr ""
-"To use the SQL92 compiler, simply specify the SQL92 compiler in <literal>ql-"
-"compiler</literal> element."
+"Para usar o compilador SQL92, apenas especifique o compilador SQL92 no elemento <literal>ql-"
+"compiler</literal>."
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:1088
@@ -4584,9 +4515,8 @@
 "also specify the ql-compiler for each element in <literal>jbosscmp-jdbc.xml</"
 "literal>. Here is an example using one of our earlier queries."
 msgstr ""
-"This changes the query compiler for all beans in the entire system. You can "
-"also specify the ql-compiler for each element in <literal>jbosscmp-jdbc.xml</"
-"literal>. Here is an example using one of our earlier queries."
+"Isto altera o compilador de consulta para todos os beans em todo o sistema. Você pode especificar também o ql-compiler para cada elemento no <literal>jbosscmp-jdbc.xml</"
+"literal>. Segue abaixo um exemplo usando uma de nossas consultas anteriores."
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:1092
@@ -4638,21 +4568,14 @@
 "<literal>on-find</literal><literal>read-ahead</literal> with the default "
 "load group <literal>*</literal> works as expected."
 msgstr ""
-"One important limitation of SQL92 query compiler is that it always selects "
-"all the fields of an entity regardless the <literal>read-ahead</literal> "
-"strategy in use. For example, if a query is configured with the <literal>on-"
-"load</literal><literal>read-ahead</literal> strategy, the first query will "
-"include all the fields, not just primary key fields but only the primary key "
-"fields will be read from the <literal>ResultSet</literal>. Then, on load, "
-"other fields will be actually loaded into the read-ahead cache. The "
-"<literal>on-find</literal><literal>read-ahead</literal> with the default "
-"load group <literal>*</literal> works as expected."
+"Uma limitação importante do compilador de consulta SQL92 é que ele sempre seleciona todos os campos de uma entidade, independente da estratégia <literal>read-ahead</literal> em uso. Por exemplo: caso uma consulta seja configurada com a estratégia <literal>on-"
+"load</literal><literal>read-ahead</literal>, a primeira consulta incluirá todos os campos, não apenas os campos chave primários mas apenas os campos chave primários que serão lidos a partir do <literal>ResultSet</literal>. Então, outros campos serão carregados dentro do read-ahead cache no carregamento. O <literal>on-find</literal><literal>read-ahead</literal> com o <literal>*</literal> do grupo de carregamento padrão funciona conforme o esperado."
 
 #. Tag: title
 #: The_CMP_Engine.xml:1099
 #, no-c-format
 msgid "BMP Custom Finders"
-msgstr "BMP Custom Finders"
+msgstr "Localizadores de Personalização BMP"
 
 #. Tag: para
 #: The_CMP_Engine.xml:1100
@@ -4665,12 +4588,8 @@
 "xml</literal> files. The following simple example finds the entities by a "
 "collection of primary keys:"
 msgstr ""
-"JBoss also supports bean managed persistence custom finders. If a custom "
-"finder method matches a finder declared in the home or local home interface, "
-"JBoss will always call the custom finder over any other implementation "
-"declared in the <literal>ejb-jar.xml</literal> or <literal>jbosscmp-jdbc."
-"xml</literal> files. The following simple example finds the entities by a "
-"collection of primary keys:"
+"O JBoss também suporta os localizadores de personalização persistente. Caso um método localizador de personalização combinar com um localizador declarado na interface home local ou home, o JBoss sempre chamará o localizador personalizado sobre qualquer outra implementação declarada nos arquivos <literal>ejb-jar.xml</literal> ou <literal>jbosscmp-jdbc."
+"xml</literal>. O seguinte exemplo simples localiza as entidades pela coleção das chaves primárias:"
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:1103
@@ -4706,21 +4625,13 @@
 "entity bean violates the EJB specification in that it implements a finder, "
 "and the JBoss EJB verifier will fail the deployment of such an entity unless "
 "the StrictVerifier attribute is set to false."
-msgstr ""
-"This is a very useful finder because it quickly coverts primary keys into "
-"real Entity objects without contacting the database. One drawback is that it "
-"can create an Entity object with a primary key that does not exist in the "
-"database. If any method is invoked on the bad Entity, a "
-"NoSuchEntityException will be thrown. Another drawback is that the resulting "
-"entity bean violates the EJB specification in that it implements a finder, "
-"and the JBoss EJB verifier will fail the deployment of such an entity unless "
-"the StrictVerifier attribute is set to false."
+msgstr "Este é um localizador bastante útil uma vez que ele converte rapidamente as chaves primárias em objetos de Entidade real sem contactar o banco de dados. Uma desvantagem é que ele pode criar um objeto de Entidade com a chave primária que não existe no banco de dados. Caso qualquer método seja invocado na Entidade ruim, um NoSuchEntityException será lançado. Outro problema é que o bean de entidade resultante viola a especificação em que ele implementa um localizador e o verificador JBoss EJB falhará a implementação de tal entidade, a não ser que o atributo StrictVerifier seja configurado para falso."
 
 #. Tag: title
 #: The_CMP_Engine.xml:1112
 #, no-c-format
 msgid "Optimized Loading"
-msgstr "Optimized Loading"
+msgstr "Carregamento Otimizado"
 
 #. Tag: para
 #: The_CMP_Engine.xml:1113
@@ -4733,20 +4644,13 @@
 "configuration. Tuning of the loading process really requires a holistic "
 "understanding of the loading system, so this chapter may have to be read "
 "more than once."
-msgstr ""
-"The goal of optimized loading is to load the smallest amount of data "
-"required to complete a transaction in the fewest number of queries. The "
-"tuning of JBoss depends on a detailed knowledge of the loading process. This "
-"section describes the internals of the JBoss loading process and its "
-"configuration. Tuning of the loading process really requires a holistic "
-"understanding of the loading system, so this chapter may have to be read "
-"more than once."
+msgstr "O objetivo do carregamento otimizado é carregar a menor quantia de dados solicitados para completar uma transação no menor número de consultas. A modulação do JBoss depende num conhecimento detalhado do processo de carregamento. Esta seção descreve as partes internas do processo de carregamento do JBoss e suas configurações. A modulação do processo de carregamento realmente solicita um entendimento holístico do sistema de carregamento, de forma que este capítulo talvez tenha que ser lido mais de uma vez."
 
 #. Tag: title
 #: The_CMP_Engine.xml:1117
 #, no-c-format
 msgid "Loading Scenario"
-msgstr "Loading Scenario"
+msgstr "Cenário de Carregamento"
 
 #. Tag: para
 #: The_CMP_Engine.xml:1118
@@ -4757,10 +4661,8 @@
 "iterate over the results performing some operation. The following example "
 "generates an html table containing all of the gangsters:"
 msgstr ""
-"The easiest way to investigate the loading process is to look at a usage "
-"scenario. The most common scenario is to locate a collection of entities and "
-"iterate over the results performing some operation. The following example "
-"generates an html table containing all of the gangsters:"
+"A maneira mais fácil de investigar o processo de carregamento é observar o cenário de uso. O cenário mais comum é alocar a coleção de entidades e interagir sobre os resultados executando alguma operação. "
+"O seguinte exemplo gera uma tabela html contendo todos os gangsters:"
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:1121
@@ -4897,6 +4799,16 @@
 "emphasis> problem and is addressed with the read-ahead strategies described "
 "in the following sections."
 msgstr ""
+"There are two problems with this scenario. First, an excessive number of "
+"queries are executed because JBoss executes one query for the "
+"<literal>findAll</literal> and one query to access each element found. The "
+"reason for this behavior has to do with the handling of query results inside "
+"the JBoss container. Although it appears that the actual entity beans "
+"selected are returned when a query is executed, JBoss really only returns "
+"the primary keys of the matching entities, and does not load the entity "
+"until a method is invoked on it. This is known as the <emphasis>n+1</"
+"emphasis> problem and is addressed with the read-ahead strategies described "
+"in the following sections."
 
 #. Tag: para
 #: The_CMP_Engine.xml:1133
@@ -4907,12 +4819,16 @@
 "are never accessed. (we have disabled the complex <literal>contactInfo</"
 "literal> field for the sake of clarity)"
 msgstr ""
+"Second, the values of unused fields are loaded needlessly. JBoss loads the "
+"<literal>hangout</literal> and <literal>organization</literal> fields, which "
+"are never accessed. (we have disabled the complex <literal>contactInfo</"
+"literal> field for the sake of clarity)"
 
 #. Tag: para
 #: The_CMP_Engine.xml:1136 The_CMP_Engine.xml:2018
 #, no-c-format
 msgid "The following table shows the execution of the queries:"
-msgstr ""
+msgstr "The following table shows the execution of the queries:"
 
 #. Tag: title
 #: The_CMP_Engine.xml:1140
@@ -4925,7 +4841,7 @@
 #: The_CMP_Engine.xml:2035 The_CMP_Engine.xml:2050
 #, no-c-format
 msgid "<entry>id</entry>"
-msgstr ""
+msgstr "<entry>id</entry>"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1147 The_CMP_Engine.xml:1363 The_CMP_Engine.xml:1681
@@ -4939,27 +4855,27 @@
 #: The_CMP_Engine.xml:2041
 #, no-c-format
 msgid "nick_name"
-msgstr ""
+msgstr "nick_name"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1153 The_CMP_Engine.xml:1369 The_CMP_Engine.xml:1687
 #: The_CMP_Engine.xml:2044
 #, no-c-format
 msgid "badness"
-msgstr ""
+msgstr "badness"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1156 The_CMP_Engine.xml:1372 The_CMP_Engine.xml:1690
 #: The_CMP_Engine.xml:2047
 #, no-c-format
 msgid "hangout"
-msgstr ""
+msgstr "hangout"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1159 The_CMP_Engine.xml:1375 The_CMP_Engine.xml:1693
 #, no-c-format
 msgid "organization"
-msgstr ""
+msgstr "organization"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1166 The_CMP_Engine.xml:1178 The_CMP_Engine.xml:1382
@@ -4967,21 +4883,21 @@
 #: The_CMP_Engine.xml:2066 The_CMP_Engine.xml:2078 The_CMP_Engine.xml:2081
 #, no-c-format
 msgid "<entry>0</entry>"
-msgstr ""
+msgstr "<entry>0</entry>"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1169 The_CMP_Engine.xml:1385 The_CMP_Engine.xml:1703
 #: The_CMP_Engine.xml:2069
 #, no-c-format
 msgid "Yojimbo"
-msgstr ""
+msgstr "Yojimbo"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1172 The_CMP_Engine.xml:1388 The_CMP_Engine.xml:1706
 #: The_CMP_Engine.xml:2072
 #, no-c-format
 msgid "Bodyguard"
-msgstr ""
+msgstr "Bodyguard"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1175 The_CMP_Engine.xml:1306 The_CMP_Engine.xml:1318
@@ -4991,7 +4907,7 @@
 #: The_CMP_Engine.xml:2284
 #, no-c-format
 msgid "<entry>7</entry>"
-msgstr ""
+msgstr "<entry>7</entry>"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1181 The_CMP_Engine.xml:1201 The_CMP_Engine.xml:1221
@@ -4999,7 +4915,7 @@
 #: The_CMP_Engine.xml:1715 The_CMP_Engine.xml:1735 The_CMP_Engine.xml:1755
 #, no-c-format
 msgid "Yakuza"
-msgstr ""
+msgstr "Yakuza"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1186 The_CMP_Engine.xml:1198 The_CMP_Engine.xml:1402
@@ -5007,28 +4923,28 @@
 #: The_CMP_Engine.xml:2095 The_CMP_Engine.xml:2107 The_CMP_Engine.xml:2110
 #, no-c-format
 msgid "<entry>1</entry>"
-msgstr ""
+msgstr "<entry>1</entry>"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1189 The_CMP_Engine.xml:1405 The_CMP_Engine.xml:1723
 #: The_CMP_Engine.xml:2098
 #, no-c-format
 msgid "Takeshi"
-msgstr ""
+msgstr "Takeshi"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1192 The_CMP_Engine.xml:1408 The_CMP_Engine.xml:1726
 #: The_CMP_Engine.xml:2101
 #, no-c-format
 msgid "Master"
-msgstr ""
+msgstr "Master"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1195 The_CMP_Engine.xml:1411 The_CMP_Engine.xml:1729
 #: The_CMP_Engine.xml:2104
 #, no-c-format
 msgid "<entry>10</entry>"
-msgstr ""
+msgstr "<entry>10</entry>"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1206 The_CMP_Engine.xml:1218 The_CMP_Engine.xml:1295
@@ -5038,21 +4954,21 @@
 #: The_CMP_Engine.xml:2249
 #, no-c-format
 msgid "<entry>2</entry>"
-msgstr ""
+msgstr "<entry>2</entry>"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1209 The_CMP_Engine.xml:1425 The_CMP_Engine.xml:1743
 #: The_CMP_Engine.xml:2127
 #, no-c-format
 msgid "Yuriko"
-msgstr ""
+msgstr "Yuriko"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1212 The_CMP_Engine.xml:1428 The_CMP_Engine.xml:1746
 #: The_CMP_Engine.xml:2130
 #, no-c-format
 msgid "Four finger"
-msgstr ""
+msgstr "Four finger"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1215 The_CMP_Engine.xml:1246 The_CMP_Engine.xml:1258
@@ -5063,7 +4979,7 @@
 #: The_CMP_Engine.xml:2197 The_CMP_Engine.xml:2220
 #, no-c-format
 msgid "<entry>4</entry>"
-msgstr ""
+msgstr "<entry>4</entry>"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1226 The_CMP_Engine.xml:1238 The_CMP_Engine.xml:1442
@@ -5071,56 +4987,56 @@
 #: The_CMP_Engine.xml:2153 The_CMP_Engine.xml:2165 The_CMP_Engine.xml:2168
 #, no-c-format
 msgid "<entry>3</entry>"
-msgstr ""
+msgstr "<entry>3</entry>"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1229 The_CMP_Engine.xml:1445 The_CMP_Engine.xml:1763
 #: The_CMP_Engine.xml:2156
 #, no-c-format
 msgid "Chow"
-msgstr ""
+msgstr "Chow"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1232 The_CMP_Engine.xml:1448 The_CMP_Engine.xml:1766
 #: The_CMP_Engine.xml:2159
 #, no-c-format
 msgid "Killer"
-msgstr ""
+msgstr "Killer"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1235 The_CMP_Engine.xml:1451 The_CMP_Engine.xml:1769
 #: The_CMP_Engine.xml:2162
 #, no-c-format
 msgid "<entry>9</entry>"
-msgstr ""
+msgstr "<entry>9</entry>"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1241 The_CMP_Engine.xml:1261 The_CMP_Engine.xml:1457
 #: The_CMP_Engine.xml:1477 The_CMP_Engine.xml:1775 The_CMP_Engine.xml:1795
 #, no-c-format
 msgid "Triads"
-msgstr ""
+msgstr "Triads"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1249 The_CMP_Engine.xml:1465 The_CMP_Engine.xml:1783
 #: The_CMP_Engine.xml:2185
 #, no-c-format
 msgid "Shogi"
-msgstr ""
+msgstr "Shogi"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1252 The_CMP_Engine.xml:1468 The_CMP_Engine.xml:1786
 #: The_CMP_Engine.xml:2188
 #, no-c-format
 msgid "Lightning"
-msgstr ""
+msgstr "Lightning"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1255 The_CMP_Engine.xml:1471 The_CMP_Engine.xml:1789
 #: The_CMP_Engine.xml:2191
 #, no-c-format
 msgid "<entry>8</entry>"
-msgstr ""
+msgstr "<entry>8</entry>"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1266 The_CMP_Engine.xml:1278 The_CMP_Engine.xml:1482
@@ -5128,21 +5044,21 @@
 #: The_CMP_Engine.xml:2211 The_CMP_Engine.xml:2223 The_CMP_Engine.xml:2226
 #, no-c-format
 msgid "<entry>5</entry>"
-msgstr ""
+msgstr "<entry>5</entry>"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1269 The_CMP_Engine.xml:1485 The_CMP_Engine.xml:1803
 #: The_CMP_Engine.xml:2214
 #, no-c-format
 msgid "Valentino"
-msgstr ""
+msgstr "Valentino"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1272 The_CMP_Engine.xml:1488 The_CMP_Engine.xml:1806
 #: The_CMP_Engine.xml:2217
 #, no-c-format
 msgid "Pizza-Face"
-msgstr ""
+msgstr "Pizza-Face"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1281 The_CMP_Engine.xml:1301 The_CMP_Engine.xml:1321
@@ -5150,7 +5066,7 @@
 #: The_CMP_Engine.xml:1815 The_CMP_Engine.xml:1835 The_CMP_Engine.xml:1855
 #, no-c-format
 msgid "Mafia"
-msgstr ""
+msgstr "Mafia"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1286 The_CMP_Engine.xml:1298 The_CMP_Engine.xml:1315
@@ -5160,41 +5076,41 @@
 #: The_CMP_Engine.xml:2278
 #, no-c-format
 msgid "<entry>6</entry>"
-msgstr ""
+msgstr "<entry>6</entry>"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1289 The_CMP_Engine.xml:1505 The_CMP_Engine.xml:1823
 #: The_CMP_Engine.xml:2243
 #, no-c-format
 msgid "Toni"
-msgstr ""
+msgstr "Toni"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1292 The_CMP_Engine.xml:1508 The_CMP_Engine.xml:1826
 #: The_CMP_Engine.xml:2246
 #, no-c-format
 msgid "Toothless"
-msgstr ""
+msgstr "Toothless"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1309 The_CMP_Engine.xml:1525 The_CMP_Engine.xml:1843
 #: The_CMP_Engine.xml:2272
 #, no-c-format
 msgid "Corleone"
-msgstr ""
+msgstr "Corleone"
 
 #. Tag: entry
 #: The_CMP_Engine.xml:1312 The_CMP_Engine.xml:1528 The_CMP_Engine.xml:1846
 #: The_CMP_Engine.xml:2275
 #, no-c-format
 msgid "Godfather"
-msgstr ""
+msgstr "Godfather"
 
 #. Tag: title
 #: The_CMP_Engine.xml:1331
 #, no-c-format
 msgid "Load Groups"
-msgstr ""
+msgstr "Load Groups"
 
 #. Tag: para
 #: The_CMP_Engine.xml:1332
@@ -5206,10 +5122,15 @@
 "<literal>Gangster</literal> in the Organization-Gangster example) that will "
 "be loaded in a single operation. An example configuration is shown below:"
 msgstr ""
+"The configuration and optimization of the loading system begins with the "
+"declaration of named load groups in the entity. A load group contains the "
+"names of CMP fields and CMR Fields that have a foreign key (e.g., "
+"<literal>Gangster</literal> in the Organization-Gangster example) that will "
+"be loaded in a single operation. An example configuration is shown below:"
 
 #. Tag: programlisting
 #: The_CMP_Engine.xml:1335
-#, fuzzy, no-c-format
+#, no-c-format
 msgid ""
 "&lt;jbosscmp-jdbc&gt;\n"
 "    &lt;enterprise-beans&gt;\n"
@@ -5235,31 +5156,29 @@
 "    &lt;/enterprise-beans&gt;\n"
 "&lt;/jbosscmp-jdbc&gt;"
 msgstr ""
-"&lt;jboss&gt;    \n"
+"&lt;jbosscmp-jdbc&gt;\n"
 "    &lt;enterprise-beans&gt;\n"
-"        &lt;session&gt;        \n"
-"            &lt;ejb-name&gt;nextgen.StatefulSession&lt;/ejb-"
-"name&gt;        \n"
-"            &lt;jndi-name&gt;nextgen.StatefulSession&lt;/jndi-"
-"name&gt;        \n"
-"            &lt;clustered&gt;True&lt;/clustered&gt;        \n"
-"            &lt;cluster-config&gt;          \n"
-"                &lt;partition-name&gt;DefaultPartition&lt;/partition-"
+"        &lt;entity&gt;\n"
+"            &lt;ejb-name&gt;GangsterEJB&lt;/ejb-name&gt; \n"
+"            &lt;!-- ... --&gt;\n"
+"            &lt;load-groups&gt;\n"
+"                &lt;load-group&gt;\n"
+"                    &lt;load-group-name&gt;basic&lt;/load-group-name&gt;\n"
+"                    &lt;field-name&gt;name&lt;/field-name&gt;\n"
+"                    &lt;field-name&gt;nickName&lt;/field-name&gt;\n"
+"                    &lt;field-name&gt;badness&lt;/field-name&gt;\n"
+"                &lt;/load-group&gt;\n"
+"                &lt;load-group&gt;\n"
+"                    &lt;load-group-name&gt;contact info&lt;/load-group-"
 "name&gt;\n"
-"                &lt;home-load-balance-policy&gt;               \n"
-"                    org.jboss.ha.framework.interfaces.RoundRobin          \n"
-"                &lt;/home-load-balance-policy&gt;          \n"
-"                &lt;bean-load-balance-policy&gt;               \n"
-"                    org.jboss.ha.framework.interfaces."
-"FirstAvailable          \n"
-"                &lt;/bean-load-balance-policy&gt;          \n"
-"                &lt;session-state-manager-jndi-name&gt;              \n"
-"                    /HASessionState/Default          \n"
-"                &lt;/session-state-manager-jndi-name&gt;        \n"
-"            &lt;/cluster-config&gt;      \n"
-"        &lt;/session&gt;    \n"
+"                    &lt;field-name&gt;nickName&lt;/field-name&gt;\n"
+"                    &lt;field-name&gt;contactInfo&lt;/field-name&gt;\n"
+"                    &lt;field-name&gt;hangout&lt;/field-name&gt;\n"
+"                &lt;/load-group&gt;\n"
+"            &lt;/load-groups&gt;\n"
+"        &lt;/entity&gt;\n"
 "    &lt;/enterprise-beans&gt;\n"
-"&lt;/jboss&gt;"
+"&lt;/jbosscmp-jdbc&gt;"
 
 #. Tag: para
 #: The_CMP_Engine.xml:1336




More information about the jboss-cvs-commits mailing list