You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by fu...@apache.org on 2006/03/24 08:10:11 UTC
svn commit: r388422 [7/16] - in /db/derby/docs/trunk/src/pt_BR: ./ ref/
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc27734.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc27734.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc27734.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc27734.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,53 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc27734" xml:lang="pt-br">
+<title>java.sql.Connection </title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>java.sql.Connection</indexterm>
+<indexterm>Conexões<indexterm>fechamento devido a exceções com severidade de sessão</indexterm><indexterm>fechamento devido a exceções com severidade de sistema</indexterm></indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>O objeto <i>Connection</i> do
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+não é coletado pelo coletor de lixo até que todos os outros objetos JDBC
+criados a partir desta conexão sejam fechados explicitamente, ou sejam coletados
+pelo coletor de lixo.
+Uma vez fechada a conexão, não poderá ser feita nenhuma requisição JDBC
+adicional aos objetos criados a partir da conexão.
+O objeto <i>Connection</i> não deverá ser fechado explicitamente, até que este
+não seja mais necessário para a execução das instruções.
+<indexterm>Conexões<indexterm>coletor de lixo</indexterm></indexterm>
+</p>
+</section>
+<section>
+<p>Um exceção com severidade de sessão, ou maior, faz a conexão ser fechada e
+todos os demais objetos JDBC associados a esta conexão serem fechados.
+Exceções com severidade de sistema causam a parada do sistema
+<ph conref="refconrefs.dita#prod/productshortname"></ph>,
+o que não apenas fecha a conexão, mas significa também que não poderá ser
+aberta nenhuma nova conexão na JVM corrente.</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc27768.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc27768.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc27768.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc27768.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,51 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc27768" xml:lang="pt-br">
+<title>Sintaxe de escape do JDBC</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>Formatos de data<indexterm>sintaxe de escape do JDBC</indexterm></indexterm>
+<indexterm>d (palavra chave de escape do JDBC)</indexterm>
+<indexterm>{d (sintaxe de escape do JDBC)</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>O <ph conref="refconrefs.dita#prod/productshortname"></ph> interpreta
+a sintaxe de escape do JDBC para datas como como equivalente a sintaxe SQL
+para datas.</p>
+</section>
+<refsyn>
+<title>Sintaxe</title>
+<codeblock><b>{d 'yyyy-mm-dd'}</b>
+</codeblock>
+</refsyn>
+<section>
+<title>Equivalente a</title>
+<codeblock><b>DATE('yyyy-mm-dd')</b>
+</codeblock>
+</section>
+<example><codeblock><b>VALUES {d '1999-01-09'}</b>
+</codeblock>
+</example>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc28456.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc28456.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc28456.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc28456.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc28456" xml:lang="pt-br">
+<title>Sintaxe de escape do JDBC para cláusulas LIKE</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>escape (palavra chave ce escape do JDBC)</indexterm>
+<indexterm>Caractere de escape para cláusulas LIKE</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>O sinal de percentagem (<i>%</i>) e sublinhado (<i>_</i>) são metacaracteres
+nas cláusulas LIKE do SQL.
+O JDBC fornece uma sintaxe para forçar a interpretação literal destes
+caracteres.
+A cláusula JDBC imediatamente após a expressão LIKE permite especificar
+um caractere de escape:</p>
+</section>
+<refsyn>
+<title>Sintaxe</title>
+<codeblock><b>WHERE <i>ExpressãoCaractere</i> [ NOT ] LIKE
+<i> ExpressãoCaractereComCaractereCuringa</i>
+ { ESCAPE '<i>CaractereDeEscape</i>' }</b>
+</codeblock>
+</refsyn>
+<example><codeblock><b>
+<ph>-- descobrir todas as linhas que começam pelo caractere "%"</ph>
+SELECT a FROM tabA WHERE a LIKE '$%%' {escape '$'}
+<ph>-- descobrir todas as linhas que terminam pelo caractere "_"</ph>
+SELECT a FROM tabA WHERE a LIKE '%=_' {escape '='}</b>
+</codeblock>
+<note>Não é permitido utilizar ? como caractere de escape se o padrão do LIKE
+também for um parâmetro dinâmico (?).</note>
+<p>Em alguns idiomas, um único caractere é formado por mais de uma unidade de
+agrupamento (caractere de 16 bits).
+O <i>CaractereDeEscape</i> utilizado na cláusula de escape deve ser uma
+unidade de agrupamento única para que funcione adequadamente.</p>
+<p>Também pode ser utilizada a seqüência de caractere de escape para o LIKE
+sem utilizar as chaves do JDBC; consulte
+<xref href="rrefsqlj23075.dita#rrefsqlj23075"></xref>.</p>
+</example>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc29874.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc29874.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc29874.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc29874.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,46 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc29874" xml:lang="pt-br">
+<title>java.sql.PreparedStatement</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>java.sql.PreparedStatement</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>O <ph conref="refconrefs.dita#prod/productshortname"></ph>
+fornece todas as conversões de tipo requeridas pelo JDBC 1.2, e além disso
+permite o uso de métodos <i>setXXX</i> individuais para cada tipo,
+como se a chamada <i>setObject(Value, JDBCTypeCode)</i> tivesse sido feita.</p>
+</section>
+<section>
+<p>Isto significa que pode ser utilizado <i>setString</i> em todos os tipos de
+dado de destino nativos.</p>
+</section>
+<section>
+<p>Pode ser utilizado o método <i>setCursorName</i> no <i>PreparedStatement</i>,
+antes da requisição de execução, para controlar o nome do cursor usado
+quando o cursor é criado.</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc29973.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc29973.dita?rev=388422&view=auto
==============================================================================
(empty)
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc30469.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc30469.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc30469.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc30469.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc30469" xml:lang="pt-br">
+<title>java.sql.SQLWarning</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>java.sql.SQLWarning</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>O <ph conref="refconrefs.dita#prod/productshortname"></ph>
+pode gerar advertências sob certas circunstâncias.
+à gerada uma advertência, por exemplo, quando se tenta conectar a um banco
+de dados com o atributo <i>create</i> definido como <i>true</i>, e o banco de
+dados já existe.
+As agregações, como sum(), também lançam advertências quando são encontrados
+valores nulos durante o processamento.</p>
+</section>
+<section>
+<p>Todas as outras mensagens informativas são escritas no arquivo
+<i>derby.log</i> do sistema
+<ph conref="refconrefs.dita#prod/productshortname"></ph>.</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc32052.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc32052.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc32052.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc32052.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<reference id="rrefjdbc32052" xml:lang="pt-br">
+<title>java.sql.Driver</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>java.sql.Driver</indexterm>
+<indexterm>Driver de JDBC<indexterm>carga</indexterm></indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>A classe que carrega o <i>driver</i> de JDBC local do
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+é a classe <i>org.apache.derby.jdbc.EmbeddedDriver</i>.
+Abaixo estão listadas algumas maneiras de criar instâncias desta classe.
+A classe não deve ser utilizada diretamente através da interface
+<i>java.sql.Driver</i>.
+Deve ser utilizada a classe <i>DriverManager</i> para criar as conexões.
+<ul id="i1012571">
+<li id="i1012580">
+<i id="jdbc10841">Class.forName("org.apache.derby.jdbc.EmbeddedDriver")</i>
+<p>Esta é a maneira recomendada, porque assegura que a classe é carregada
+em todas as JVMs criando uma instância ao mesmo tempo.</p></li>
+<li><i>new org.apache.derby.jdbc.EmbeddedDriver()</i>
+<p>O mesmo que
+<i><xref href="#rrefjdbc32052/jdbc10841">Class.forName("org.apache.derby.jdbc.EmbeddedDriver")</xref></i>,
+exceto por requerer que a classe seja encontrada quando o código é compilado.</p></li>
+<li><i>Class c = org.apache.derby.jdbc.EmbeddedDriver.class</i>
+<p>Também é o mesmo que
+<i><xref href="rrefjdbc32052.dita#rrefjdbc32052/jdbc10841">Class.forName("org.apache.derby.jdbc.EmbeddedDriver")</xref></i>,
+exceto por requerer que a classe seja encontrada quando o código é compilado.
+O campo pseudo-estático <i>class</i> resulta na classe nomeada.</p></li>
+<li><i>Definição da propriedade do sistema jdbc.drivers
+<ph><indexterm>Driver de JDBC<indexterm>carga</indexterm></indexterm></ph>
+<ph><indexterm>Propriedade do sistema jdbc.drivers<indexterm>utilização para carregar o driver</indexterm></indexterm></ph>
+</i>
+<p>Para definir uma propriedade do sistema, deve ser alterada a linha de comando
+da chamada, ou as propriedades do sistema no aplicativo.
+Não é possÃvel alterar as propriedades do sistema em uma <i>applet</i>.</p></li>
+</ul>
+</p>
+</section>
+<example>
+<codeblock><b>java -Djdbc.drivers=org.apache.derby.jdbc.EmbeddedDriver
+ classeAplicativo</b>
+</codeblock>
+</example>
+<section>
+<p>O <i>driver</i> real que fica registrado em <i>DriverManager</i> para tratar
+o protocolo <i>jdbc:derby:</i> não é a classe
+<i>org.apache.derby.jdbc.EmbeddedDriver</i>;
+esta classe simplesmente detecta o tipo de <i>driver</i> do
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+necessário, e faz com que o <i>driver</i> apropriado do
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+seja carregado.</p>
+</section>
+<section>
+<p>A única maneira suportada para conectar ao sistema
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+através do protocolo <i>jdbc:derby:</i> é utilizando <i>DriverManager</i>
+para obter o <i>driver</i> (<i>java.sql.Driver</i>) ou a conexão
+(<i>java.sql.Connection</i>), através das chamadas de método
+<i>getDriver</i> e <i>getConnection</i>.</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc32593.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc32593.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc32593.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc32593.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc32593" xml:lang="pt-br">
+<title>Funcionalidades apenas do JDBC 3.0</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>JDBC 3.0<indexterm>Suporte do Derby</indexterm></indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>O JDBC 3.0 adiciona algumas funcionalidades à API núcleo.
+Esta seção documenta as funcionalidades suportadas pelo
+<ph conref="refconrefs.dita#prod/productshortname"></ph>.
+<note>Estas funcionalidades estão presentes apenas no Java 2 versão 1.4 ou
+mais recente.</note></p>
+</section>
+<section>
+<p>As funcionalidades são:
+<ul>
+<li>Novos métodos DatabaseMetaData.
+Consulte <i><xref href="rrefjdbcdatabasemetadata30.dita#rrefjdbcdatabasemetadata30"></xref>.</i></li>
+<li>Acesso a metadados de parâmetro.
+Consulte <i><xref href="rrefjdbcparametermetadata30.dita#rrefjdbcparametermetadata30"></xref>
+e <xref href="rrefjdbc29874.dita#rrefjdbc29874"></xref>.</i></li>
+<li>Acesso a chaves auto-geradas.
+Consulte <i><xref href="rrefjdbc40794.dita#rrefjdbc40794"></xref> e
+<xref href="rrefjdbcdatabasemetadata30.dita#rrefjdbcdatabasemetadata30"></xref>.</i></li>
+<li>Pontos de salvamento.
+Consulte <i><xref href="rrefjdbcjavasqlconnection30.dita#rrefjdbcjavasqlconnection30"></xref>.</i></li>
+<li>Cursores HOLD.
+Consulte <i><xref href="rrefjdbcdatabasemetadata30.dita#rrefjdbcdatabasemetadata30"></xref>.</i></li>
+</ul>
+</p>
+</section>
+<section>
+<p>Lista completa:
+<ul>
+<li><i><xref href="rrefjdbcjavasqlconnection30.dita#rrefjdbcjavasqlconnection30"></xref></i></li>
+<li><i><xref href="rrefjdbcdatabasemetadata30.dita#rrefjdbcdatabasemetadata30"></xref></i></li>
+<li><i><xref href="rrefjdbcparametermetadata30.dita#rrefjdbcparametermetadata30"></xref></i></li>
+<li><i><xref href="rrefjdbc29874.dita#rrefjdbc29874"></xref></i></li>
+<li><i><xref href="rrefjdbcjavasqlsavepoint.dita#rrefjdbcjavasqlsavepoint"></xref></i></li>
+<li><i><xref href="rrefjdbc40794.dita#rrefjdbc40794"></xref></i></li>
+</ul>
+</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc34565.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc34565.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc34565.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc34565.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc34565" xml:lang="pt-br">
+<title>java.sql.DriverManager.getConnection</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>java.sql. DriverManager.getConnection</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>Um aplicativo Java utilizando a API do JDBC estabelece a conexão com o
+banco de dados obtendo um objeto <i>Connection</i>.
+A forma padrão para obter um objeto <i>Connection</i> é chamando o método
+<i>DriverManager.getConnection</i>, que recebe uma cadeia de caracteres
+contendo a URL de conexão com o banco de dados.
+A URL (<i>uniform resource locator</i>) de conexão com o banco de dados JDBC
+fornece a maneira de identificar o banco de dados.</p>
+</section>
+<section>
+<p><i>DriverManager.getConnection</i> pode receber um argumento, além da URL
+de conexão com o banco de dados, que é um objeto <i>Properties</i>.
+O objeto <i>Properties</i> pode ser utilizado para definir atributos da
+URL de conexão com o banco de dados.</p>
+</section>
+<section>
+<p><indexterm>Esquemas<indexterm>APP como padrão</indexterm></indexterm>
+Também podem ser fornecidas cadeias de caracteres representando nomes de
+usuários e senhas.
+Quando são fornecidos, o
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+verifica se são válidos para o sistema corrente, se a autenticação de usuário
+estiver habilitada.
+Os nomes de usuário são passados para o
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+como identificadores de autorização, utilizados para determinar se o usuário
+está autorizado a acessar o banco de dados, e para determinar o esquema padrão.
+Quando a conexão é estabelecida, se não for fornecido um usuário, o
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+define o usuário padrão como <i>APP</i>, que o
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+utiliza para dar nome ao esquema padrão.
+Se for fornecido um usuário, o nome de esquema padrão será o mesmo nome do
+usuário.</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc34954.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc34954.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc34954.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc34954.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc34954" xml:lang="pt-br">
+<title>java.sql.Driver.getPropertyInfo</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>java.sql.Driver.getPropertyInfo</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>Para obter um objeto <i>DriverPropertyInfo</i>, este deve ser requisitado ao
+gerenciador de <i>drivers</i> do <i>driver</i> de JDBC:</p>
+</section>
+<example>
+<codeblock><b>java.sql.DriverManager.getDriver("jdbc:derby:").
+ getPropertyInfo(<b><i>URL</i></b>, <b><i>Prop</i></b>)</b>
+</codeblock>
+</example>
+<section>
+<p>Não deve ser requisitado a <i>org.apache.derby.jdbc.EmbeddedDriver</i>,
+que é somente uma classe intermediária que carrega o <i>driver</i> real.</p>
+</section>
+<section>
+<p>Este método deve retornar um objeto <i>DriverPropertyInfo</i>.
+No sistema <ph conref="refconrefs.dita#prod/productshortname"></ph>,
+este objeto consiste de uma matriz de atributos da
+URL de conexão com o banco de dados.
+O atributo mais útil é
+<i><xref href="rrefattrib17246.dita#rrefattrib17246">databaseName=nomeBancoDados</xref></i>,
+significando que o objeto consiste de uma lista dos bancos de dados
+inicializados no sistema corrente.</p>
+</section>
+<section>
+<p>Por exemplo, se o sistema
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+possuir os bancos de dados <i>bancoTurismo</i> e <i>bancoVoos</i> no seu
+diretório de sistema, estiver configurado para inicializar automaticamente
+todos os bancos de dados quando o sistema é inicializado,
+e o usuário também tiver conectado ao banco de dados
+<filepath>A:/dbs/turismo94</filepath>, a matriz retornada por
+<i>getPropertyInfo</i> conterá um objeto correspondente ao atributo
+<i>databaseName</i>.
+O campo <i>choices</i> do objeto <i>DriverPropertyInfo</i> conterá uma
+matriz de três cadeias de caracteres com os valores <i>bancoTurismo</i>,
+<i>bancoVoos</i> e <filepath>A:/dbs/turismo94</filepath>.
+Deve ser observado que este objeto será retornado apenas se os objetos de
+conexão propostos não incluirem o nome do banco de dados (em qualquer forma)
+ou o atributo <i>shutdown</i> com o valor <i>true</i>.</p>
+</section>
+<section>
+<p>Para obter mais informações sobre <i>java.sql.Driver.getPropertyInfo</i>
+deve ser consultado "Oferecimento de escolhas de conexão para o usuário",
+no capÃtulo 8 do <cite><ph conref="refconrefs.dita#pub/citdevelop"></ph></cite>.
+</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc37244.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc37244.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc37244.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc37244.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,70 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc37244" xml:lang="pt-br">
+<title>Sintaxe de escape do JDBC para junções externas</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>oj (palavra chave de escape do JDBC)</indexterm>
+<indexterm>{oj (sintaxe de escape do JDBC)</indexterm>
+<indexterm>Junções externas<indexterm>sintaxe de escape do JDBC</indexterm></indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>O <ph conref="refconrefs.dita#prod/productshortname"></ph> interpreta
+a sintaxe de escape do JDBC para as junções externas (e para todas as operações
+de junção) como equivalente à sintaxe SQL correta para junções externas ou
+para a operação de junção apropriada.</p>
+<p>Para obter informações sobre operações de junção deve ser consultada a
+<xref href="rrefsqlj29840.dita#rrefsqlj29840">Operação JOIN</xref>.</p>
+</section>
+<refsyn>
+<title>Sintaxe</title>
+<codeblock><b>{oj <i><xref href="rrefsqlj29840.dita#rrefsqlj29840">Operação JOIN</xref></i> [<i><xref
+href="rrefsqlj29840.dita#rrefsqlj29840">Operação JOIN</xref></i> ]* }</b>
+</codeblock>
+</refsyn>
+<section>
+<title>Equivalente a</title>
+<codeblock><b><b><i><xref href="rrefsqlj29840.dita#rrefsqlj29840">Operação JOIN</xref></i></b> [<b><i><xref
+href="rrefsqlj29840.dita#rrefsqlj29840">Operação JOIN</xref></i></b> ]* </b>
+</codeblock>
+</section>
+<example> <codeblock><b><ph>-- junção externa</ph>
+SELECT *
+FROM
+{oj PAÃSES LEFT OUTER JOIN CIDADES ON
+ (PAÃSES.COD_ISO_PAÃS=CIDADES.COD_ISO_PAÃS)}
+<ph>-- outra operação de junção</ph>
+SELECT *
+FROM
+{oj PAÃSES JOIN CIDADES ON (PAÃSES.COD_ISO_PAÃS=CIDADES.COD_ISO_PAÃS)}
+<ph>-- a ExpressãoTabela pode ser a OperaçãoJunção.
+-- Portanto podem haver várias operações de
+-- junção na cláusula FROM</ph>
+SELECT E.NUM_EMP, E.ÃLTIMO_NOME, M.NUM_EMP, M.ÃLTIMO_NOME
+FROM {oj EMPREGADOS E INNER JOIN DEPARTAMENTOS
+INNER JOIN EMPREGADOS M ON NUM_GER = M.NUM_EMP ON E.DEP_TRAB = NUM_DEP};</b>
+</codeblock>
+</example>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc37352.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc37352.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc37352.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc37352.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc37352" xml:lang="pt-br">
+<title>Sintaxe da URL de conexão com banco de dados para aplicativos com bancos de dados incorporados</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>URL de conexão com banco de dados<indexterm>sintaxe no modo incorporado</indexterm></indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>Para aplicativos com bancos de dados incorporados, a sintaxe da URL de
+conexão com banco de dados é
+<codeblock><b>jdbc:derby: [<b><i>subsubprotocolo:</i></b>][<i>nomeBancoDados</i>][;<b><i>atributos</i></b>]*</b></codeblock>
+<ul id="i1025762">
+<li>
+<i id="jdbc31337">jdbc:derby:</i>
+<p>No jargão do JDBC, <i>derby</i> é o <i>subprotocolo</i> para conectar a um
+banco de dados <ph conref="refconrefs.dita#prod/productshortname"></ph>.
+O subprotocolo é sempre <i>derby</i>, não variando.</p></li>
+<li>O <i>subsubprotocolo:
+<ph><indexterm>Subsubprotocolo<indexterm>parte da sintaxe da URL de conexão com banco de dados</indexterm></indexterm></ph></i>
+<p>O <i>subsubprotocolo</i>, que normalmente não é especificado, especifica onde
+o <ph conref="refconrefs.dita#prod/productshortname"></ph> procura pelo
+banco de dados: em um diretório, em um caminho de classe, ou em um arquivo jar.
+Ã usado raramente, geralmente em bancos de dado apenas-de-leitura.
+O <i>subsubprotocolo</i> é um dos seguintes:</p>
+<ul>
+<li>directory</li>
+<li>classpath:
+<indexterm>Caminho de classes<indexterm>acesso a bancos de dados apenas-de-leitura</indexterm></indexterm>
+Os bancos de dados são tratados como apenas-de-leitura, e todos os
+<i>nomeBancoDados</i> devem começar com pelo menos uma barra, porque
+são especificados como "relativos" ao diretório do caminho de classes ou
+arquivo (Não é necessário especificar <i>classpath</i> como sendo o
+subsubprotocolo; está implÃcito).</li>
+<li>Os bancos de dados <i>jar</i> são tratados como bancos de dados
+apenas-de-leitura.</li>
+</ul>
+<p>jar: requer um elemento adicional, imediatamente antes do
+<i>nomeBancoDados</i>:
+<codeblock><b><i>(<i>caminhoArquivo</i>)</i></b></codeblock>
+</p>
+<p>O <i>caminhoArquivo</i> é o caminho para o arquivo <i>jar</i> ou <i>zip</i>
+que contém o banco de dados, e inclui o nome do arquivo
+<i>jar</i> ou <i>zip</i>.</p>
+<p>Para obter exemplos de URLs de conexão com bancos de dados apenas-de-leitura
+deve ser consultado o
+<cite><ph conref="refconrefs.dita#pub/citdevelop"></ph></cite>.</p>
+</li>
+<li><i>nomeBancoDados</i>
+<p>Deve ser especificado o <i>nomeBancoDados</i> para se conectar a um
+banco de dados existente ou a um banco de dados novo.</p>
+<p>Pode ser especificado apenas o nome do banco de dados, ou junto com um
+caminho absoluto ou relativo.
+Consulte "Conexões padrão - Conectar a bancos de dados no sistema de arquivos",
+no capÃtulo 1 do <cite><ph conref="refconrefs.dita#pub/citdevelop"></ph></cite>.
+</p>
+</li>
+<li><i>atributos</i>
+<p>São especificados zero ou mais atributos da URL de conexão com banco de dados,
+conforme detalhado em <xref href="rrefjdbc10889.dita#rrefjdbc10889"></xref>.</p>
+</li>
+</ul>
+</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc38274.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc38274.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc38274.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc38274.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<reference id="rrefjdbc38274" xml:lang="pt-br">
+<title>java.sql.ResultSetMetaData</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>java.sql.ResultSetMetaData</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>O <ph conref="refconrefs.dita#prod/productshortname"></ph>
+não verifica a fonte ou possibilidade de atualização das colunas dos
+<i>ResultSets</i>, e portanto sempre retorna as seguintes constantes para os
+seguintes métodos:
+<table expanse="column" frame="all">
+<tgroup cols="2" colsep="1" rowsep="1">
+<colspec colname="1" colnum="1" colwidth="40*"/>
+<colspec colname="2" colnum="2" colwidth="60*"/>
+<thead>
+<row>
+<entry align="left" colname="1" valign="bottom">Nome do método</entry>
+<entry align="left" colname="2" valign="bottom">Valor</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="1"><i>isDefinitelyWritable</i></entry>
+<entry colname="2">falso</entry>
+</row>
+<row>
+<entry colname="1"><i>isReadOnly</i></entry>
+<entry colname="2">falso</entry>
+</row>
+<row>
+<entry colname="1"><i>isWritable</i></entry>
+<entry colname="2">falso</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc40794.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc40794.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc40794.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc40794.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<reference id="rrefjdbc40794" xml:lang="pt-br">
+<title>java.sql.Statement </title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>java.sql.Statement</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>O <ph conref="refconrefs.dita#prod/productshortname"></ph>
+não implementa os seguintes métodos do JDBC 1.2 de <i>java.sql.Statement</i>:
+<ul>
+<li><i>cancel</i></li>
+<li><i>setEscapeProcessing</i></li>
+<li><i>setQueryTimeout</i></li>
+</ul>
+</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc41784.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc41784.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc41784.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc41784.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc41784" xml:lang="pt-br">
+<title>Sintaxe de escape do JDBC para formatos de carimbo do tempo</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>ts (palavra chave de escape do JDBC)</indexterm>
+<indexterm>{ts (sintaxe de escape do JDBC)</indexterm>
+<indexterm>Formatos de carimbo do tempo<indexterm>sintaxe de escape do JDBC</indexterm></indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>O <ph conref="refconrefs.dita#prod/productshortname"></ph> interpreta
+a sintaxe de escape do JDBC para carimbos do tempo como equivalente à sintaxe
+SQL correta para carimbos do tempo.
+O <ph conref="refconrefs.dita#prod/productshortname"></ph> também suporta
+o formato ISO de 23 caracteres (17 dÃgitos, 3 hÃfens e 3 pontos decimais).</p>
+</section>
+<refsyn>
+<title>Sintaxe</title>
+<codeblock><b>{ts 'yyyy-mm-dd hh:mm:ss.f...'}</b></codeblock>
+</refsyn>
+<section>
+<title>Equivalente a</title> <codeblock><b>TIMESTAMP 'yyyy-mm-dd hh:mm:ss.f...'</b>
+</codeblock>
+<p>Pode ser omitida a parte fracionária das constantes carimbo do tempo (.f...).</p>
+</section>
+<example>
+<codeblock id="i1020504"><b>VALUES {ts '1999-01-09 20:11:11.123455'}<i id="jdbc61769"></i></b></codeblock>
+</example>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc52637.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc52637.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc52637.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc52637.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,68 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc52637" xml:lang="pt-br">
+<title>java.sql.CallableStatement </title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>Batch processing (JDBC)</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<table frame="all">
+<title>Métodos java.sql.CallableStatements do JDBC 2.0 suportados</title>
+<tgroup cols="3" colsep="1" rowsep="1">
+<colspec colname="1" colnum="1" colwidth="22*"/>
+<colspec colname="2" colnum="2" colwidth="47*"/>
+<colspec colname="3" colnum="3" colwidth="32*"/>
+<thead>
+<row>
+<entry align="left" colname="1" valign="bottom">Retorna</entry>
+<entry align="left" colname="2" valign="bottom">Assinatura</entry>
+<entry align="left" colname="3" valign="bottom">Notas da implementação</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="1"><i>BigDecimal</i></entry>
+<entry colname="2"><i>getBigDecimal</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>Date</i></entry>
+<entry colname="2"><i>getDate(int, Calendar)</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>Time</i></entry>
+<entry colname="2"><i>getTime(int,Calendar)</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>Timestamp</i></entry>
+<entry colname="2"><i>getTimestamp(int, Calendar)</i></entry>
+<entry colname="3"></entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc59162.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc59162.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc59162.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc59162.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc59162" xml:lang="pt-br">
+<title>java.sql.Statement</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>Processamento em lote (JDBC)</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<table frame="all">
+<title>Métodos java.sql.Statement do JDBC2.0 suportados</title>
+<tgroup cols="3" colsep="1" rowsep="1">
+<colspec colname="1" colnum="1" colwidth="11*"/>
+<colspec colname="2" colnum="2" colwidth="39*"/>
+<colspec colname="3" colnum="3" colwidth="49*"/>
+<thead>
+<row>
+<entry align="left" colname="1" valign="bottom">Retorna</entry>
+<entry align="left" colname="2" valign="bottom">Assinatura</entry>
+<entry align="left" colname="3" valign="bottom">Notas da implementação</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>addBatch(String sql)</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>clearBatch()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>int[]</i></entry>
+<entry colname="2"><i>executeBatch()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>int</i></entry>
+<entry colname="2"><i>getFetchDirection()</i></entry>
+<entry colname="3">Chamar este método não lança uma exceção, mas a chamada é ignorada.</entry>
+</row>
+<row>
+<entry colname="1"><i>int</i></entry>
+<entry colname="2"><i>getFetchSize()</i></entry>
+<entry colname="3">Chamar este método não lança uma exceção, mas a chamada é ignorada.</entry>
+</row>
+<row>
+<entry colname="1"><i>int</i></entry>
+<entry colname="2"><i>getMaxFieldSize()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>getMaxRows()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>setEscapeProcessing(boolean enable)</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>setFetchDirection(int direction)</i></entry>
+<entry colname="3">Chamar este método não lança uma exceção, mas a chamada é ignorada.</entry>
+</row>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>setFetchSize(int rows)</i></entry>
+<entry colname="3">Chamar este método não lança uma exceção, mas a chamada é ignorada.</entry>
+</row>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>setMaxFieldSize(int max)</i></entry>
+<entry colname="3">Sem efeito em <i>Blobs</i> e <i>Clobs</i>.</entry>
+</row>
+<row>
+<entry colname="1">void</entry>
+<entry colname="2"><i>setMaxRows()</i></entry>
+<entry colname="3"></entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc66688.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc66688.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc66688.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc66688.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc66688" xml:lang="pt-br">
+<title>java.sql.DatabaseMetaData</title>
+<refbody>
+<section>
+<p>O <ph conref="refconrefs.dita#prod/productshortname"></ph>
+implementa todos os métodos do JDBC 2.0 para esta interface.</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc70824.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc70824.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc70824.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc70824.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,45 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc70824" xml:lang="pt-br">
+<title>Palavra chave de escape do JDBC para instruções call</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>call (palavra chave de escape do JDBC)</indexterm>
+<indexterm>{call (palavra chave de escape do JDBC)</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>Esta sintaxe é suportada para <i>java.sql.Statement</i> e
+<i>java.sql.PreparedStatement</i> adicionalmente a <i>CallableStatement</i>.</p>
+</section>
+<refsyn>
+<title>Sintaxe</title>
+<codeblock><b>{<i>call</i> instrução }</b>
+</codeblock>
+</refsyn>
+<example> <p></p> <codeblock>-- Chamar um procedimento Java
+<b>{ call TOURS.BOOK_TOUR(?, ?) }</b>
+</codeblock>
+</example>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc71949.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc71949.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc71949.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc71949.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc71949" xml:lang="pt-br">
+<title>java.sql.ResultSetMetaData</title>
+<refbody>
+<section>
+<p>O <ph conref="refconrefs.dita#prod/productshortname"></ph>
+implementa todos os métodos do JDBC 2.0 para esta interface.</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc75719.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc75719.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc75719.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc75719.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,160 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc75719" xml:lang="pt-br">
+<title>CallableStatement e parâmetros INOUT</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>java.sql.CallableStatement<indexterm>e parâmetros INOUT</indexterm></indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>Os parâmetros INOUT são mapeados em uma <i>matriz</i> do tipo do parâmetro
+no Java (O método deve receber uma matriz como seu parâmetro).
+Isto está em conformidade com as recomendações do padrão SQL.</p>
+</section>
+<section>
+<p>Dado o seguinte exemplo:
+<codeblock expanse="column"><b>CallableStatement call = conn.prepareCall(
+ "{CALL dobreMeuInteiro(?)}");
+<ph>// para os parâmetros INOUT, é boa prática registrar
+// o parâmetro de saÃda antes de definir o valor de entrada</ph>
+call.registerOutParameter(1, Types.INTEGER);
+call.setInt(1,10);
+call.execute();
+int retval = call.getInt(1);</b>
+</codeblock>
+</p>
+</section>
+<section>
+<p>O método <i>doubleIt</i> deve receber uma matriz unidimensional de
+<codeph>inteiros</codeph>.
+Abaixo está um código fonte de amostra para este método:
+<codeblock expanse="column"><b>public static void dobreMeuInteiro(int[] i) {
+ i[0] *=2;
+ <ph>/* O <ph conref="refconrefs.dita#prod/productshortname"></ph> retorna o primeiro elemento da matriz. */</ph>
+}</b>
+</codeblock>
+<note>O valor retornado <i>não</i> é empacotado em uma matriz, mesmo que o
+parâmetro para o método seja.</note>
+<table frame="all">
+<title>Correspondência de tipo do parâmetro INOUT</title>
+<tgroup cols="3" colsep="1" rowsep="1">
+<colspec colname="1" colnum="1" colwidth="39*"/>
+<colspec colname="2" colnum="2" colwidth="27*"/>
+<colspec colname="3" colnum="3" colwidth="33*"/>
+<thead>
+<row>
+<entry align="left" colname="1" valign="bottom">Tipo do JDBC</entry>
+<entry align="left" colname="2" valign="bottom">Tipo da matriz para o parâmetro do método</entry>
+<entry align="left" colname="3" valign="bottom">Valor e tipo retornado</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="1">BIGINT</entry>
+<entry colname="2">long[]</entry>
+<entry colname="3">long</entry>
+</row>
+<row>
+<entry colname="1">BINARY</entry>
+<entry colname="2">byte[][]</entry>
+<entry colname="3">byte[]</entry>
+</row>
+<row>
+<entry colname="1">BIT</entry>
+<entry colname="2">boolean[]</entry>
+<entry colname="3">boolean</entry>
+</row>
+<row>
+<entry colname="1">DATE</entry>
+<entry colname="2"><i>java.sql.Date[]</i></entry>
+<entry colname="3"><i>java.sql.Date</i></entry>
+</row>
+<row>
+<entry colname="1">DOUBLE</entry>
+<entry colname="2">double[]</entry>
+<entry colname="3">double</entry>
+</row>
+<row>
+<entry colname="1">FLOAT</entry>
+<entry colname="2">double[]</entry>
+<entry colname="3">double</entry>
+</row>
+<row>
+<entry colname="1">INTEGER</entry>
+<entry colname="2">int[]</entry>
+<entry colname="3">int</entry>
+</row>
+<row>
+<entry colname="1">LONGVARBINARY</entry>
+<entry colname="2">byte[][]</entry>
+<entry colname="3">byte[]</entry>
+</row>
+<row>
+<entry colname="1">REAL</entry>
+<entry colname="2">float[]</entry>
+<entry colname="3">float</entry>
+</row>
+<row>
+<entry colname="1">SMALLINT</entry>
+<entry colname="2">short[]</entry>
+<entry colname="3">short</entry>
+</row>
+<row>
+<entry colname="1">TIME</entry>
+<entry colname="2"><i>java.sql.Time[]</i></entry>
+<entry colname="3"><i>java.sql.Time</i></entry>
+</row>
+<row>
+<entry colname="1">TIMESTAMP</entry>
+<entry colname="2"><i>java.sql.Timestamp[]</i></entry>
+<entry colname="3"><i>java.sql.Timestamp</i></entry>
+</row>
+<row>
+<entry colname="1">VARBINARY</entry>
+<entry colname="2">byte[][]</entry>
+<entry colname="3">byte[]</entry>
+</row>
+<row>
+<entry colname="1">OTHER</entry>
+<entry colname="2"><i>seuTipo[]</i></entry>
+<entry colname="3"><i>seuTipo</i></entry>
+</row>
+<row>
+<entry colname="1">JAVA_OBJECT (válido apenas nos ambientes Java2/JDBC 2.0)</entry>
+<entry colname="2"><i>seuTipo[]</i></entry>
+<entry colname="3"><i>seuTipo</i></entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+</p>
+</section>
+<section>
+<p>Deve ser registrado o tipo de dado de saÃda do parâmetro antes de executar
+a chamada.
+Para os parâmetros INOUT, é boa prática registrar o parâmetro de saÃda antes
+de definir seu valor de entrada.</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc77156.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc77156.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc77156.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc77156.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,185 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc77156" xml:lang="pt-br">
+<title>java.sql.ResultSet</title>
+<refbody>
+<table frame="all">
+<title>Métodos de ResultSet do JDBC 2.0 suportados</title>
+<tgroup cols="3" colsep="1" rowsep="1">
+<colspec colname="1" colnum="1" colwidth="13*"/>
+<colspec colname="2" colnum="2" colwidth="36*"/>
+<colspec colname="3" colnum="3" colwidth="51*"/>
+<thead>
+<row>
+<entry align="left" colname="1" valign="bottom">Retorna</entry>
+<entry align="left" colname="2" valign="bottom">Assinatura</entry>
+<entry align="left" colname="3" valign="bottom">Notas da implementação</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>afterLast()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>beforeFirst()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>beforeFirst()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>deleteRow()</i></entry>
+<entry colname="3">Após a linha ser atualizada, o objeto <i>ResultSet</i> será
+posicionado antes da próxima linha.
+Antes de executar qualquer método diferente de <i>close</i> no objeto
+<i>ResultSet</i>, o programa precisará reposicionar o objeto <i>ResultSet</i>
+utilizando o método <i>next()</i>.</entry>
+</row>
+<row>
+<entry colname="1"><i>boolean</i></entry>
+<entry colname="2"><i>first()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>Blob</i></entry>
+<entry colname="2"><i>getBlob(int columnIndex)</i></entry>
+<entry colname="3" morerows="3">Consulte <xref href="rrefjdbc96386.dita#rrefjdbc96386"></xref></entry>
+</row>
+<row>
+<entry colname="1"><i>Blob</i></entry>
+<entry colname="2"><i>getBlob(String columnName)</i></entry>
+</row>
+<row>
+<entry colname="1"><i>Clob</i></entry>
+<entry colname="2"><i>getClob(int columnIndex)</i></entry>
+</row>
+<row>
+<entry colname="1"><i>Clob</i></entry>
+<entry colname="2"><i>getClob(String columnName)</i></entry>
+</row>
+<row>
+<entry colname="1"><i>int</i></entry>
+<entry colname="2"><i>getConcurrency()</i></entry>
+<entry colname="3"><p>Se o objeto <i>Statement</i> possuir a simultaneidade
+<i>CONCUR_READ_ONLY</i>, então este método retornará
+<i>ResultSet.CONCUR_READ_ONLY</i>.
+Mas se o objeto <i>Statement</i> possuir a simultaneidade
+<i>CONCUR_UPDATABLE</i>, então o valor retornado dependerá do <i>ResultSet</i>
+da linguagem subjacente ser atualizável ou não.
+Se o <i>ResultSet</i> da linguagem for atualizável, então
+<i>getConcurrency()</i> retornará <i>ResultSet.CONCUR_UPDATABLE</i>.
+Se o <i>ResultSet</i> da linguagem não for atualizável, então
+<i>getConcurrency()</i> retornará <i>ResultSet.CONCUR_READ_ONLY</i>.</p>
+</entry>
+</row>
+<row>
+<entry colname="1"><i>int</i></entry>
+<entry colname="2"><i>getFetchDirection()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>int</i></entry>
+<entry colname="2"><i>getFetchSize()</i></entry>
+<entry colname="3">Sempre retorna 1.</entry>
+</row>
+<row>
+<entry colname="1"><i>int</i></entry>
+<entry colname="2"><i>getRow()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>boolean</i></entry>
+<entry colname="2"><i>isAfterLast()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>boolean</i></entry>
+<entry colname="2"><i>isBeforeFirst</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>boolean</i></entry>
+<entry colname="2"><i>isFirst()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>boolean</i></entry>
+<entry colname="2"><i>isLast()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>boolean</i></entry>
+<entry colname="2"><i>last()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>boolean</i></entry>
+<entry colname="2"><i>previous()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>boolean</i></entry>
+<entry colname="2"><i>relative(int rows)</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>setFetchDirection(int direction)</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>setFetchSize(int rows)</i></entry>
+<entry colname="3">O tamanho de busca igual a 1 é o único tamanho suportado.</entry>
+</row>
+<row>
+<entry colname="1"><i>void</i></entry>
+<entry colname="2"><i>updateRow()</i></entry>
+<entry colname="3">Após a linha ser atualizada, o objeto <i>ResultSet</i> será
+posicionado antes da próxima linha.
+Antes de executar qualquer método diferente de <i>close</i> no objeto
+<i>ResultSet</i>, o programa precisará reposicionar o objeto <i>ResultSet</i>
+utilizando o método <i>next()</i>.</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+<section>
+<note>Ao trabalhar com <i>ResultSet</i> não sensÃvel à rolagem quando o modo de
+auto-efetivação (auto-commit) está habilitado, o único método de posicionamento
+que pode fechar o <i>ResultSet</i> automaticamente é o método <i>next()</i>.
+Quando o modo de auto-efetivação está habilitado, este método fecha
+automaticamente o <i>ResultSet</i> ao ser chamado quando não há mais linhas.
+Por exemplo, o método <i>afterLast()</i> não fecha o <i>ResultSet</i>.
+<p>Não é requerido que o JDBC esteja com auto-efetivação desabilitada ao se
+utilizar <i>ResultSet</i> atualizável.</p>
+<p>No momento, o
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+não suporta o método <i>insertRow()</i> em <i>ResultSet</i> atualizável.</p>
+</note>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc80004.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc80004.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc80004.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc80004.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<reference id="rrefjdbc80004" xml:lang="pt-br">
+<title>java.sql.Connection</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>Cursores não sensÃveis à rolagem (JDBC)</indexterm>
+<indexterm>Cursores não sensÃveis à rolagem</indexterm>
+<indexterm>Cursores<indexterm>não sensÃveis à rolagem</indexterm></indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<table expanse="page" frame="all">
+<title>Métodos de conexão do JDBC 2.0 suportados</title>
+<tgroup cols="2" colsep="1" rowsep="1">
+<colspec colname="1" colnum="1" colwidth="20*"/>
+<colspec colname="2" colnum="2" colwidth="29*"/>
+<thead>
+<row>
+<entry align="left" colname="1" valign="bottom">Retorna</entry>
+<entry align="left" colname="2" valign="bottom">Assinatura</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="1"><i>Statement</i></entry>
+<entry colname="2"><i>createStatement( int resultSetType, int resultSetConcurrency)</i></entry>
+</row>
+<row>
+<entry colname="1"><i>PreparedStatement</i></entry>
+<entry colname="2"><i>prepareStatement(String sql, int resultSetType, int
+resultSetConcurrency)</i></entry>
+</row>
+<row>
+<entry colname="1"><i>CallableStatement</i></entry>
+<entry colname="2"><i>prepareCall(String sql, int resultSetType, int resultSetConcurrency</i></entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+<section>
+<title>Notas da implementação</title>
+<i>ResultSet.TYPE_FORWARD_ONLY</i> e <i>ResultSet.TYPE_SCROLL_INSENSITIVE</i>
+são os únicos tipos de rolagem suportados.
+Se for requisitado <i>TYPE_SCROLL_SENSITIVE</i>, o
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+emitirá uma <i>SQLWarning</i> e retornará um <i>ResultSet</i>
+<i>TYPE_SCROLL_INSENSITIVE</i>.
+<p>Estes métodos suportam as simultaneidades <i>ResultSet.CONCUR_READ_ONLY</i>
+e <i>ResultSet.CONCUR_UPDATABLE</i>.
+Entretanto, somente pode ser requisitado um <i>ResultSet</i> atualizável que
+possua o tipo de rolagem <i>TYPE_FORWARD_ONLY</i>.
+Se for requisitado um <i>ResultSet</i> atualizável com tipo
+<i>SCROLL_SENSITIVE</i> ou <i>SCROLL_INSENSITIVE</i>, o
+<ph conref="refconrefs.dita#prod/productshortname"></ph>
+emitirá uma <i>SQLWarning</i> e retornará um <i>ResultSet</i>
+<i>TYPE_SCROLL_INSENSITIVE READ_ONLY</i>.</p>
+<p>(Para ver as advertências deve ser utilizado <i>Connection.getWarnings</i>)</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc87220.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc87220.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc87220.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc87220.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc87220" xml:lang="pt-br">
+<title>java.sql.BatchUpdateException</title>
+<refbody>
+<section>
+<p>Lançada quando ocorre problema com atualização em lote.</p>
+</section>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc88908.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc88908.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc88908.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc88908.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,149 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<reference id="rrefjdbc88908" xml:lang="pt-br">
+<title>Sintaxe de escape do JDBC para a palavra chave fn</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>fn (palavra chave de escape do JDBC)</indexterm>
+<indexterm>substring (função escalar do JDBC)</indexterm>
+<indexterm>mod (função escalar do JDBC)</indexterm>
+<indexterm>locate (função escalar do JDBC)</indexterm>
+<indexterm>abs (função escalar do JDBC)</indexterm>
+<indexterm>sqrt (função escalar do JDBC)</indexterm>
+<indexterm>concat (função escalar do JDBC)</indexterm>
+<indexterm>função TIMESTAMPADD</indexterm>
+<indexterm>função TIMESTAMPDIFF</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>A palavra chave <i>fn</i> permite utilizar várias funções escalares.
+O nome da função vem imediatamente após a palavra chave <i>fn</i>.</p>
+</section>
+<refsyn>
+<title>Sintaxe</title>
+<codeblock><b>{fn <i>chamadaFunção</i>}</b>
+</codeblock><p>onde <i>chamadaFunção</i> é uma das seguintes funções:</p>
+<codeblock><b>concat (<b><i>ExpressãoCaractere</i></b>,
+<b><i>ExpressãoCaractere</i></b>)</b></codeblock>
+<p>Cadeia de caracteres formada anexando a segunda cadeia à primeira;
+se uma das cadeias for nula, o resultado será nulo.
+{fn concat (<i>ExpressãoCaractere</i>, <i>ExpressãoCaractere</i>)
+é equivalente à sintaxe nativa { ExpressãoCaractere || ExpressãoCaractere }.
+Para obter mais detalhes deve ser consultado
+<xref href="rrefsqlj40899.dita#rrefsqlj40899"></xref>.</p>
+<codeblock><b><i>sqrt (<b><i>ExpressãoPontoFlutuante</i></b>)</i></b>
+</codeblock><p>Raiz quadrada do número de ponto flutuante.</p>
+<p>{fn sqrt (<i>ExpressãoPontoFlutuante</i>)} é equivalente à sintaxe nativa
+<xref href="rrefsqlj73147.dita#rrefsqlj73147/i1195048">SQRT(ExpressãoPontoFlutuante)</xref>.
+Para obter mais detalhes deve ser consultado
+<xref href="rrefsqlj73147.dita#rrefsqlj73147"></xref>.</p>
+<codeblock><b>abs (<b><i>ExpressãoNumérica</i></b>)</b></codeblock>
+<p>Valor absoluto do número.
+{fn abs(<i>ExpressãoNumérica</i>)} é equivalente à sintaxe nativa
+<xref href="rrefsqlj98067.dita#rrefsqlj98067/i1195049">ABSOLUTE(ExpressãoNumérica)</xref>.
+Para obter mais detalhes deve ser consultado <xref href="rrefsqlj98067.dita#rrefsqlj98067"></xref>.
+</p><codeblock><b>locate(<b><i>ExpressãoCaractere</i></b>, <b><i>ExpressãoCaractere</i></b> [, <b><i>posiçãoInÃcio</i></b>] )</b></codeblock>
+<p>Posição na segunda <i>ExpressãoCaractere</i> da primeira ocorrência da
+primeira <i>ExpressãoCaractere</i>, procurando a partir do inÃcio da segunda
+expressão caractere, a menos que esteja especificada a <i>posiçãoInÃcio</i>.
+{fn locate(<i>ExpressãoCaractere</i>,<i>ExpressãoCaractere</i> [, <i>posiçãoInÃcio</i>])}
+é equivalente à sintaxe nativa
+<xref href="rrefsqlj61998.dita#rrefsqlj61998/i1195050">LOCATE(ExpressãoCaractere, ExpressãoCaractere [, PosiçãoInÃcio] )</xref>.
+Para obter mais detalhes deve ser consultado
+<xref href="rrefsqlj61998.dita#rrefsqlj61998"></xref>.</p>
+<codeblock><b>substring(<b><i>ExpressãoCaractere</i></b>, <b><i>posiçãoInÃcio</i></b>, <b><i>comprimento</i></b>)</b></codeblock>
+<p>A cadeia de caracteres formada pela extração de <i>comprimento</i> caracteres
+da <i>ExpressãoCaractere</i> a partir da <i>posiçãoInÃcio</i>;
+a posição começa em 1.</p>
+<codeblock><b>mod(<b><i>tipo_inteiro</i></b>, <b><i>tipo_inteiro</i></b>)</b></codeblock>
+<p>MOD retorna o resto (módulo) do argumento 1 dividido pelo argumento 2.
+O resultado será negativo apenas se o argumento 1 for negativo.
+Para obter mais detalhes deve ser consultado
+<xref href="rrefsqljmod.dita#rrefsqljmod"></xref>.</p>
+<note>Esta sintaxe permite o uso de qualquer função nativa do
+<ph conref="refconrefs.dita#prod/productshortname"></ph>,
+e não apenas as listadas nesta seção.</note>
+<codeblock><b>TIMESTAMPADD( <i>intervalo</i>, <i>expressãoInteira</i>, <i>expressãoCarimboTempo</i> )</b></codeblock>
+<p>Utiliza a função <codeph>TIMESTAMPADD</codeph> para adicionar o valor de
+um intervalo a um carimbo do tempo.
+A função aplica o inteiro ao carimbo do tempo especificado baseado no tipo
+de intervalo, e retorna a soma como um novo carimbo do tempo.
+Pode ser realizada subtração no carimbo do tempo utilizando inteiros negativos.</p>
+<p>Deve ser observado que <codeph>TIMESTAMPADD</codeph> é uma função do JDBC
+com escape, sendo acessÃvel apenas utilizando a sintaxe de função com escape
+do JDBC.</p>
+<p>Para realizar <codeph>TIMESTAMPADD</codeph> em datas e horas, é necessário
+convertê-los para carimbo do tempo.
+As datas são convertidas em carimbos do tempo colocando 00:00:00.0 no campo
+das horas.
+As horas são convertidas em carimbos do tempo colocando a data corrente no
+campo da data.</p>
+<p>Deve ser observado que não deve ser colocada uma coluna data/hora dentro de
+uma função aritmética de carimbo do tempo na cláusula WHERE, porque o
+otimizador não usará nenhum Ãndice na coluna.</p>
+<codeblock><b>TIMESTAMPDIFF( intervalo, expressãoCarimboTempo1, expressãoCarimboTempo2 )</b></codeblock>
+<p>Utiliza a função <codeph>TIMESTAMPDIFF</codeph> para descobrir a diferença
+entre dois valores de carimbo do tempo no intervalo especificado.
+Por exemplo, a função pode retornar o número de minutos entre dois carimbos do
+tempo especificados.</p>
+<p>Deve ser observado que <codeph>TIMESTAMPDIFF</codeph> é uma função do JDBC
+com escape, sendo acessÃvel apenas utilizando a sintaxe de função com escape
+do JDBC.</p>
+<p>Para realizar <codeph>TIMESTAMPDIFF</codeph> em datas e horas, é
+necessário convertê-los em carimbo do tempo.
+As datas são convertidas em carimbos do tempo colocando 00:00:00.0 no campo
+das horas.
+As horas são convertidas em carimbos do tempo colocando a data corrente no
+campo da data.</p>
+<p>Deve ser observado que não deve ser colocada uma coluna data/hora dentro de
+uma função aritmética de carimbo do tempo na cláusula WHERE, porque o
+otimizador não usará nenhum Ãndice para a coluna.</p>
+</refsyn>
+<section>
+<title>Intervalos válidos para TIMESTAMPADD e TIMESTAMPDIFF</title>
+As funções <codeph>TIMESTAMPADD</codeph> e <codeph>TIMESTAMPDIFF</codeph>
+podem ser utilizadas para realizar aritmética com carimbos do tempo.
+Estas duas funções utilizam os seguintes intervalos válidos para as operações
+aritméticas:
+<ul>
+<li>SQL_TSI_DAY</li>
+<li>SQL_TSI_FRAC_SECOND</li>
+<li>SQL_TSI_HOUR</li>
+<li>SQL_TSI_MINUTE</li>
+<li>SQL_TSI_MONTH</li>
+<li>SQL_TSI_QUARTER</li>
+<li>SQL_TSI_SECOND</li>
+<li>SQL_TSI_WEEK</li>
+<li>SQL_TSI_YEAR</li>
+</ul>
+</section>
+<example>
+<title>Exemplo de TIMESTAMPADD e TIMESTAMPDIFF</title>
+<codeblock><b>{fn TIMESTAMPADD( SQL_TSI_MONTH, 1, CURRENT_TIMESTAMP)}</b></codeblock>
+<p>Retorna um valor carimbo do tempo um mês após o carimbo do tempo corrente.</p>
+<codeblock><b>{fn TIMESTAMPDIFF(SQL_TSI_WEEK, CURRENT_TIMESTAMP,
+ timestamp('2001-01-01-12.00.00.000000'))}</b></codeblock>
+<p>Retorna o número de semanas entre agora e a hora especificada em
+1 de janeiro de 2001.</p>
+</example>
+</refbody>
+</reference>
Added: db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc96386.dita
URL: http://svn.apache.org/viewcvs/db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc96386.dita?rev=388422&view=auto
==============================================================================
--- db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc96386.dita (added)
+++ db/derby/docs/trunk/src/pt_BR/ref/rrefjdbc96386.dita Thu Mar 23 23:09:52 2006
@@ -0,0 +1,234 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!--
+Copyright 1997, 2005 The Apache Software Foundation or its licensors, as applicable.
+
+Licensed under the Apache License, Version 2.0 (the "License");
+you may not use this file except in compliance with the License.
+You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+
+<!DOCTYPE reference PUBLIC "-//IBM//DTD DITA Reference//EN"
+ "../dtd/reference.dtd">
+<reference id="rrefjdbc96386" xml:lang="pt-br">
+<title>java.sql.Blob e java.sql.Clob</title>
+<prolog>
+<metadata>
+<keywords>
+<indexterm>java.sql.Blob</indexterm>
+<indexterm>java.sql.Clob</indexterm>
+<indexterm>BLOB data type</indexterm>
+<indexterm>CLOB data type</indexterm>
+</keywords>
+</metadata>
+</prolog>
+<refbody>
+<section>
+<p>No JDBC 2.0, <i>java.sql.Blob</i> é o mapeamento para o tipo BLOB
+(objeto grande binário) do SQL;
+<i>java.sql.Clob</i> é o mapeamento para o tipo CLOB (objeto grande caractere)
+do SQL.</p>
+</section>
+<section>
+<p>java.sql.Blob e java.sql.Clob fornecem um ponteiro lógico para um objeto
+grande, em vez de uma cópia completa do objeto.
+O <ph conref="refconrefs.dita#prod/productshortname"></ph>
+processa somente uma página de dados na memória por vez.
+Não há necessidade de processar e armazenar todo o BLOB em memória apenas para
+acessar alguns poucos bytes iniciais do objeto LOB</p>
+</section>
+<section>
+<p>O <ph conref="refconrefs.dita#prod/productshortname"></ph>
+agora suporta os tipos de dado nativos BLOB e CLOB.
+O <ph conref="refconrefs.dita#prod/productshortname"></ph>
+também fornece o seguinte suporte para estes tipos de dado:
+<ul>
+<li><b>Funcionalidades do BLOB</b>
+O <ph conref="refconrefs.dita#prod/productshortname"></ph> suporta a interface
+<i>java.sql.Blob</i>, e os métodos relacionados ao BLOB em
+<i><xref href="rrefjdbc99392.dita#rrefjdbc99392"></xref></i> e
+<i><xref href="rrefjdbc77156.dita#rrefjdbc77156"></xref></i>.
+Os métodos <i>getBlob</i> de <i>CallableStatement</i> não estão implementados.</li>
+<li><b>Funcionalidades do CLOB</b>
+O <ph conref="refconrefs.dita#prod/productshortname"></ph>
+suporta a interface java.sql.Clob, e os métodos relacionados ao CLOB em
+<i><xref href="rrefjdbc99392.dita#rrefjdbc99392"></xref></i> e
+<i><xref href="rrefjdbc77156.dita#rrefjdbc77156"></xref></i>.
+Os métodos <i>getClob</i> dos procedimentos de <i>CallableStatement</i>
+não estão implementados.</li>
+</ul>
+</p>
+</section>
+<section>
+<p>Para utilizar as funcionalidades java.sql.Blob e java.sql.Clob:
+<ul>
+<li>Utilizar o tipo BLOB do SQL para armazenamento;
+Os tipos LONG VARCHAR FOR BIT DATA, BINARY e VARCHAR FOR BIT DATA
+também funcionam.</li>
+<li>Utilizar o tipo CLOB do SQL para armazenamento;
+Os tipos LONG VARCHAR, CHAR e VARCHAR também funcionam.</li>
+<li>Utilizar os métodos <i>getBlob</i> ou <i>getClob</i> da
+interface <i>java.sql.ResultSet</i>, para obter um tratador de <i>BLOB</i> ou
+<i>CLOB</i> para os dados subjacentes.</li>
+<li>Não podem ser chamados métodos estáticos (Extensão SQL sobre SQL)
+em qualquer coluna LOB.</li>
+</ul>
+</p>
+</section>
+<section>
+<p>Além disso, a conversão entre cadeias e BLOBs não é recomendada,
+porque a conversão é dependente da plataforma e do banco de dados. </p>
+</section>
+<section>
+<p>O <ph conref="refconrefs.dita#prod/productshortname"></ph>
+utiliza cadeias UNICODE (caracteres com 2 bytes), enquanto outros produtos
+de banco de dados podem utilizar caracteres ASCII (1 byte por caractere).
+Se forem utilizadas várias páginas de código, cada caractere poderá necessitar
+de vários bytes.
+Poderá ser necessário um tipo BLOB maior para acomodar uma cadeia normal no
+<ph conref="refconrefs.dita#prod/productshortname"></ph>.
+Devem ser utilizados tipos CLOB para armazenar cadeias.</p>
+</section>
+<section>
+<p><b>Restrições de BLOB, CLOB, (tipos-LOB):</b>
+<ul>
+<li>Os tipos-LOB não podem ser comparados com relação a igualdade (=)
+e desigualdade (!=, <>). </li>
+<li>Os valores dos tipos-LOB não são ordenáveis, portanto não são suportados os
+testes <, <=, >, >=.</li>
+<li>Os tipos-LOB não podem ser utilizados em Ãndices, ou como colunas de
+chave primária.</li>
+<li>Também são proibidas as cláusulas DISTINCT, GROUP BY e ORDER BY
+nos tipos-LOB.</li>
+<li>Os tipos-LOB não podem estar envolvidos em conversões implÃcitas como
+outros tipos base.</li>
+</ul>
+</p>
+</section>
+<section>
+<p>O <ph conref="refconrefs.dita#prod/productshortname"></ph>
+implementa todos os métodos para estas interfaces do JDBC 2.0, exceto pelos
+métodos <i>set</i> e <i>get</i> da interface <i>CallableStatement</i>.</p>
+</section>
+<section>
+<p><b>Recomendações:</b>
+Como o tempo de vida de <i>java.sql.Blob</i> e <i>java.sql.Clob</i> termina
+quando a transação é efetivada, deve ser desativada a auto-efetivação
+(auto-commit) quando se usa as funcionalidades
+<i>java.sql.Blob</i> e <i>java.sql.Clob</i>.</p>
+</section>
+<section>
+<p>
+<table expanse="page" frame="all">
+<title>Métodos java.sql.Blob do JDBC 2.0 suportados</title>
+<tgroup cols="3" colsep="1" rowsep="1">
+<colspec colname="1" colnum="1" colwidth="13*"/>
+<colspec colname="2" colnum="2" colwidth="32*"/>
+<colspec colname="3" colnum="3" colwidth="55*"/>
+<thead>
+<row>
+<entry align="left" colname="1" valign="bottom">Retorna</entry>
+<entry align="left" colname="2" valign="bottom">Assinatura</entry>
+<entry align="left" colname="3" valign="bottom">Notas de implementação</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="1"><i>InputStream</i></entry>
+<entry colname="2"><i>getBinaryStream()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>byte[]</i></entry>
+<entry colname="2"><i>getBytes(long pos, int length)</i></entry>
+<entry colname="3">São lançadas exceções se <i>pos</i> < 1,
+se <i>pos</i> for maior que o comprimento, ou se <i>length</i> <= 0.</entry>
+</row>
+<row>
+<entry colname="1"><i>long</i></entry>
+<entry colname="2"><i>length()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>long</i></entry>
+<entry colname="2"><i>position(byte[] pattern, long start)</i></entry>
+<entry colname="3">São lançadas exceções se <i>pattern</i> == null,
+se <i>start</i> < 1, ou se <i>pattern</i> for uma matriz de comprimento 0.
+</entry>
+</row>
+<row>
+<entry colname="1"><i>long</i></entry>
+<entry colname="2"><i>position(Blob pattern, long start)</i></entry>
+<entry colname="3">São lançadas exceções se <i>pattern</i> == null,
+se <i>start</i> < 1, se <i>pattern</i> possuir comprimento 0,
+ou se for lançada uma exceção ao tentar ler o primeiro byte de <i>pattern</i>.
+</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+<table expanse="page" frame="all">
+<title>Métodos java.sql.Clob do JDBC 2.0 suportados</title>
+<tgroup cols="3" colsep="1" rowsep="1">
+<colspec colname="1" colnum="1" colwidth="14*"/>
+<colspec colname="2" colnum="2" colwidth="36*"/>
+<colspec colname="3" colnum="3" colwidth="50*"/>
+<thead>
+<row>
+<entry align="left" colname="1" valign="bottom">Retorna</entry>
+<entry align="left" colname="2" valign="bottom">Assinatura</entry>
+<entry align="left" colname="3" valign="bottom">Notas de implementação</entry>
+</row>
+</thead>
+<tbody>
+<row>
+<entry colname="1"><i>InputStream</i></entry>
+<entry colname="2"><i>getAsciiStream()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>Reader</i></entry>
+<entry colname="2"><i>getCharacterStream()</i></entry>
+<entry colname="3">NÃO SUPORTADO</entry>
+</row>
+<row>
+<entry colname="1"><i>String</i></entry>
+<entry colname="2"><i>getSubString(long pos, int length)</i></entry>
+<entry colname="3">São lançadas exceções se <i>pos</i> < 1,
+se <i>pos</i> for maior que o comprimento de <i>Clob</i>, ou se
+<i>length</i> <= 0.
+</entry>
+</row>
+<row>
+<entry colname="1"><i>long</i></entry>
+<entry colname="2"><i>length()</i></entry>
+<entry colname="3"></entry>
+</row>
+<row>
+<entry colname="1"><i>long</i></entry>
+<entry colname="2"><i>position(Clob searchstr, long start) </i></entry>
+<entry colname="3">São lançadas exceções se <i>searchStr</i> == null, se
+<i>start</i> < 1, se <i>searchStr</i> possuir comprimento 0,
+ou se for lançada uma exceção ao tentar ler o primeiro caractere de
+<i>searchStr.</i></entry>
+</row>
+<row>
+<entry colname="1"><i>long</i></entry>
+<entry colname="2"><i>position(String searchstr, long start) </i></entry>
+<entry colname="3">São lançadas exceções se <i>searchStr</i> == null,
+se <i>start</i> < 1, ou se o padrão for uma cadeia vazia.</entry>
+</row>
+</tbody>
+</tgroup>
+</table>
+</p>
+</section>
+</refbody>
+</reference>