Sophie

Sophie

distrib > Mandriva > current > i586 > media > main-updates > by-pkgid > fc480f9d5aabed8eeaffe8ad3401a94c > files > 5364

openoffice.org-devel-doc-3.2.1-0.3mdv2010.2.i586.rpm

<html>
<head>
<title>Service CallableStatement</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../../../../idl.css">
</head>
<body>
<div id="adc-idlref">

<a name="_top_"> </a><table class="navimain" border="0" cellpadding="3">
<tr>
<td class="navimain"><a href="../module-ix.html" class="navimain">Overview</a></td>
<td class="navimain"><a href="module-ix.html" class="navimain">Module</a></td>
<td class="navimain"><a href="CallableStatement-xref.html" class="navimain">Use</a></td>
<td class="navimainnone">Devguide</td>
<td class="navimain"><a href="../../../../index-files/index-1.html" class="navimain">Index</a></td>
</tr>
</table>
<table class="navisub" border="0" cellpadding="0">
<tr>
<td class="navisub"><a href="#ServicesSummary" class="navisub">Services' Summary</a></td>
<td class="navisub"><a href="#InterfacesSummary" class="navisub">Interfaces' Summary</a></td>
<td class="navisub">Properties' Summary</td>
<td class="navisub"><a href="#ServicesDetails" class="navisub">Services' Details</a></td>
<td class="navisub"><a href="#InterfacesDetails" class="navisub">Interfaces' Details</a></td>
<td class="navisub">Properties' Details</td>
</tr>
</table>
<hr>
<table border="0" width="100%" cellpadding="5" cellspacing="3" class="title-table" style="margin-bottom:6pt;">
<tr>
<td><p class="namechain"><a href="../../../../module-ix.html" class="namechain">::</a> <a href="../../../module-ix.html" class="namechain">com</a> :: <a href="../../module-ix.html" class="namechain">sun</a> :: <a href="../module-ix.html" class="namechain">star</a> :: <a href="module-ix.html" class="namechain">sdbc</a> :: </p>
</td>
</tr>
<tr>
<td class="title">service CallableStatement</td>
</tr>
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>is used to execute SQL stored procedures.
 
 
 </dd>
<dd><p>
 SDBC provides a stored procedure SQL escape that allows stored procedures
 to be called in a standard way for all RDBMSs. This escape syntax has one
 form that includes a result parameter and one that does not. If used, the
 result parameter must be registered as an OUT parameter. The other parameters
 can be used for input, output, or both. Parameters are referred to sequentially,
 by number. The first parameter is 1.
 </p>
 <p>
 <code>{?=call&amp;lt;procedure-name&amp;gt;[&amp;lt;arg1&amp;gt;,&amp;lt;arg2&amp;gt;,...]}<br/>{call&amp;lt;procedure-name&amp;gt;[&amp;lt;arg1&amp;gt;,&amp;lt;arg2&amp;gt;,...]}
 </code>
 </p>
 <p>
 IN parameter values are set using the set methods inherited from
 <a href="PreparedStatement.html">PreparedStatement</a>
 . The type of all
 OUT parameters must be registered prior to executing the stored procedure;
 their values are retrieved after execution via the 
 <code>get</code>
 methods
 provided by the 
 <a href="XRow.html">XRow</a>
 .
 </p>
 <p>
 A 
 <code>CallableStatement</code>
 can return one
 <a href="XResultSet.html">XResultSet</a>
 or multiple
 <a href="ResultSet.html">ResultSet</a>
 objects. Multiple 
 <code>ResultSet</code>
 objects are
 handled using operations inherited from
 <a href="XPreparedStatement.html">XPreparedStatement</a>
 .
 </p>
 <p>
 For maximum portability, a call's 
 <a href="ResultSet.html">ResultSet</a>
 objects and
 update counts should be processed prior to getting the values of output
 parameters.
 </p>
</dd>
</dl>
</td>
</tr>
</table>
<hr>
<a name="ServicesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Included Services - Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="PreparedStatement.html">PreparedStatement</a></td>
<td class="imsum_right"><dl>
<dt>(referenced entity's summary:)</dt>
<dd>represents a precompiled SQL statement. 
 </dd>
</dl>
</td>
</tr>
</table>
<a name="InterfacesSummary"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Exported Interfaces - Summary</td>
</tr>
<tr>
<td class="imsum_left"><a href="XRow.html">XRow</a></td>
<td class="imsum_right"><p>is used for retrieve the values of OUT parameters.
 </p>
</td>
</tr>
<tr>
<td class="imsum_left"><a href="XOutParameters.html">XOutParameters</a></td>
<td class="imsum_right"><p>is used to declare parameters as OUT parameters.
 </p>
</td>
</tr>
</table>
<a name="ServicesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Included Services - Details</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="PreparedStatement" class="membertitle"><a href="PreparedStatement.html">PreparedStatement</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt>(referenced entity's summary:)</dt>
<dd>represents a precompiled SQL statement. 
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<a name="InterfacesDetails"/><table border="1" width="100%" cellpadding="5" cellspacing="0" class="subtitle">
<tr>
<td class="subtitle" colspan="2">Exported Interfaces - Details</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XRow" class="membertitle"><a href="XRow.html">XRow</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>is used for retrieve the values of OUT parameters.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
<tr/>
<tr>
<td class="imdetail"><a name="XOutParameters" class="membertitle"><a href="XOutParameters.html">XOutParameters</a></a><table border="0" width="96%" cellpadding="5" cellspacing="0" class="table-in-data" bgcolor="#ffffff" align="center">
<tr>
<td><dl>
<dt><b>Description</b></dt>
<dd>is used to declare parameters as OUT parameters.
 </dd>
</dl>
</td>
</tr>
</table>
</td>
</tr>
</table>
<br>&nbsp;<a href="#_top_">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright &copy; 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p>

</div> <!-- id="adc-idlref" -->
</body>

</html>