[jboss-cvs] JBossAS SVN: r91629 - 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
Fri Jul 24 01:43:08 EDT 2009


Author: ldelima at redhat.com
Date: 2009-07-24 01:43:08 -0400 (Fri, 24 Jul 2009)
New Revision: 91629

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-24 05:41:41 UTC (rev 91628)
+++ projects/docs/enterprise/4.3.3/Server_Configuration_Guide/pt-BR/The_CMP_Engine.po	2009-07-24 05:43:08 UTC (rev 91629)
@@ -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:41+1000\n"
+"PO-Revision-Date: 2009-07-24 15:42+1000\n"
 "Last-Translator: \n"
 "Language-Team:  <en at li.org>\n"
 "MIME-Version: 1.0\n"
@@ -4429,6 +4429,10 @@
 "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."
 
 #. Tag: para
 #: The_CMP_Engine.xml:1060
@@ -4442,6 +4446,13 @@
 "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."
 
 #. Tag: para
 #: The_CMP_Engine.xml:1065
@@ -4458,6 +4469,16 @@
 "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."
 
 #. Tag: para
 #: The_CMP_Engine.xml:1070
@@ -4476,6 +4497,18 @@
 "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."
 
 #. Tag: title
 #: The_CMP_Engine.xml:1080




More information about the jboss-cvs-commits mailing list