1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="de">
<head>
<!-- Generated by javadoc (version 1.7.0_21) on Sat Jun 08 12:27:46 CEST 2013 -->
<title>JtdsStatement (jTDS API)</title>
<meta name="date" content="2013-06-08">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="JtdsStatement (jTDS API)";
}
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!-- -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/JtdsStatement.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../net/sourceforge/jtds/jdbc/JtdsResultSetMetaData.html" title="class in net.sourceforge.jtds.jdbc"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../net/sourceforge/jtds/jdbc/LargeLOBTest.html" title="class in net.sourceforge.jtds.jdbc"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?net/sourceforge/jtds/jdbc/JtdsStatement.html" target="_top">Frames</a></li>
<li><a href="JtdsStatement.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!-- -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">net.sourceforge.jtds.jdbc</div>
<h2 title="Class JtdsStatement" class="title">Class JtdsStatement</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>net.sourceforge.jtds.jdbc.JtdsStatement</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.AutoCloseable, java.sql.Statement, java.sql.Wrapper</dd>
</dl>
<dl>
<dt>Direct Known Subclasses:</dt>
<dd><a href="../../../../net/sourceforge/jtds/jdbc/JtdsPreparedStatement.html" title="class in net.sourceforge.jtds.jdbc">JtdsPreparedStatement</a></dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">JtdsStatement</span>
extends java.lang.Object
implements java.sql.Statement</pre>
<div class="block">jTDS implementation of the java.sql.Statement interface.<p>
NB. As allowed by the JDBC standard and like most other drivers,
this implementation only allows one open result set at a time.
<p>
Implementation notes:
<p>
I experimented with allowing multiple open result sets as supported
by the original jTDS but rejected this approach for the following
reasons:
<ol>
<li>It is more difficult to ensure that there are no memory leaks and that
cursors are closed if multiple open sets are allowed.
<li>The use of one result set allows cursor and non cursor result sets to
be derived from exeuteQuery() or execute() and getResultSet() in the
same way that other drivers do.
</ol>
In the event of an IO failure the setClosed() method forces this statement
and associated result set to close preventing the propagation of errors.
This class includes a finalize method which increases the chances of the
statement being closed tidly in a pooled environment where the user has
forgotten to explicitly close the statement before it goes out of scope.</div>
<dl><dt><span class="strong">Author:</span></dt>
<dd>Mike Hutchinson, Holger Rehn</dd>
<dt><span class="strong">See Also:</span></dt><dd><code>Statement</code>,
<code>Connection.createStatement()</code>,
<code>ResultSet</code></dd></dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_summary">
<!-- -->
</a>
<h3>Field Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private java.util.concurrent.atomic.AtomicInteger</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#_Closed">_Closed</a></strong></code>
<div class="block">
0
- this statement is open
1
- this statement is currently being closed
2
- this statement is closed
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.util.ArrayList</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#batchValues">batchValues</a></strong></code>
<div class="block">Batched SQL Statement array.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) static int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#BOOLEAN">BOOLEAN</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) static int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#CLOSE_ALL_RESULTS">CLOSE_ALL_RESULTS</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) static int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#CLOSE_CURRENT_RESULT">CLOSE_CURRENT_RESULT</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../net/sourceforge/jtds/jdbc/ColInfo.html" title="class in net.sourceforge.jtds.jdbc">ColInfo</a>[]</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#colMetaData">colMetaData</a></strong></code>
<div class="block">The cached column meta data.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../net/sourceforge/jtds/jdbc/JtdsConnection.html" title="class in net.sourceforge.jtds.jdbc">JtdsConnection</a></code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#connection">connection</a></strong></code>
<div class="block">The connection owning this statement object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../net/sourceforge/jtds/jdbc/JtdsResultSet.html" title="class in net.sourceforge.jtds.jdbc">JtdsResultSet</a></code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#currentResult">currentResult</a></strong></code>
<div class="block">The current <code>ResultSet</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#cursorName">cursorName</a></strong></code>
<div class="block">The cursor name to be used for positioned updates.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) static int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#DATALINK">DATALINK</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) static int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#DEFAULT_FETCH_SIZE">DEFAULT_FETCH_SIZE</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#escapeProcessing">escapeProcessing</a></strong></code>
<div class="block">True if SQL statements should be preprocessed.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) static java.lang.Integer</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#EXECUTE_FAILED">EXECUTE_FAILED</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#fetchDirection">fetchDirection</a></strong></code>
<div class="block">The fetch direction for result sets.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#fetchSize">fetchSize</a></strong></code>
<div class="block">The fetch size (default 100, only used by cursor
<code>ResultSet</code>s).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) static java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#GENKEYCOL">GENKEYCOL</a></strong></code>
<div class="block">Column name to be used for retrieving generated keys from the server:
"_JTDS_GENE_RATED_KEYS_"</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../net/sourceforge/jtds/jdbc/CachedResultSet.html" title="class in net.sourceforge.jtds.jdbc">CachedResultSet</a></code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#genKeyResultSet">genKeyResultSet</a></strong></code>
<div class="block">Dummy result set for getGeneratedKeys.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) static int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#KEEP_CURRENT_RESULT">KEEP_CURRENT_RESULT</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#maxFieldSize">maxFieldSize</a></strong></code>
<div class="block">The maximum field size (not used at present).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#maxRows">maxRows</a></strong></code>
<div class="block">The maximum number of rows to return (not used at present).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected <a href="../../../../net/sourceforge/jtds/jdbc/SQLDiagnostic.html" title="class in net.sourceforge.jtds.jdbc">SQLDiagnostic</a></code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#messages">messages</a></strong></code>
<div class="block">SQL Diagnostic exceptions and warnings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) static int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#NO_GENERATED_KEYS">NO_GENERATED_KEYS</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.util.ArrayList</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#openResultSets">openResultSets</a></strong></code>
<div class="block">List of open result sets.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#queryTimeout">queryTimeout</a></strong></code>
<div class="block">The read query timeout in seconds</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.util.LinkedList</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#resultQueue">resultQueue</a></strong></code>
<div class="block">List of queued results (update counts, possibly followed by a
<code>ResultSet</code>).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#resultSetConcurrency">resultSetConcurrency</a></strong></code>
<div class="block">The concurrency of result sets created by this statement.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#resultSetType">resultSetType</a></strong></code>
<div class="block">The type of result sets created by this statement.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) static int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#RETURN_GENERATED_KEYS">RETURN_GENERATED_KEYS</a></strong></code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) static java.lang.Integer</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#SUCCESS_NO_INFO">SUCCESS_NO_INFO</a></strong></code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected <a href="../../../../net/sourceforge/jtds/jdbc/TdsCore.html" title="class in net.sourceforge.jtds.jdbc">TdsCore</a></code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#tds">tds</a></strong></code>
<div class="block">The TDS object used for server access.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>private int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#updateCount">updateCount</a></strong></code>
<div class="block">The current update count.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!-- -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#JtdsStatement(net.sourceforge.jtds.jdbc.JtdsConnection, int, int)">JtdsStatement</a></strong>(<a href="../../../../net/sourceforge/jtds/jdbc/JtdsConnection.html" title="class in net.sourceforge.jtds.jdbc">JtdsConnection</a> connection,
int resultSetType,
int resultSetConcurrency)</code>
<div class="block">Construct a new Statement object.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!-- -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#addBatch(java.lang.String)">addBatch</a></strong>(java.lang.String sql)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#addWarning(java.sql.SQLWarning)">addWarning</a></strong>(java.sql.SQLWarning w)</code>
<div class="block">Add an SQLWarning object to the statement warnings list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#cacheResults()">cacheResults</a></strong>()</code>
<div class="block">Cache as many results as possible (up to the first
<code>ResultSet</code>).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#cancel()">cancel</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#checkCursorException(java.sql.SQLException)">checkCursorException</a></strong>(java.sql.SQLException e)</code>
<div class="block">Check that the exception is caused by the failure to open a
cursor and not by a more serious SQL error.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#checkOpen()">checkOpen</a></strong>()</code>
<div class="block">Check that this statement is still open.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#clearBatch()">clearBatch</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#clearWarnings()">clearWarnings</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#close()">close</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#closeAllResultSets()">closeAllResultSets</a></strong>()</code>
<div class="block">Close all result sets.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#closeCurrentResultSet()">closeCurrentResultSet</a></strong>()</code>
<div class="block">Close current result set (if any).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#closeOnCompletion()">closeOnCompletion</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#execute(java.lang.String)">execute</a></strong>(java.lang.String sql)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#execute(java.lang.String, int)">execute</a></strong>(java.lang.String sql,
int autoGeneratedKeys)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#execute(java.lang.String, int[])">execute</a></strong>(java.lang.String sql,
int[] columnIndexes)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#execute(java.lang.String, java.lang.String[])">execute</a></strong>(java.lang.String sql,
java.lang.String[] columnNames)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int[]</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeBatch()">executeBatch</a></strong>()</code>
<div class="block">Execute batch of SQL Statements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeImpl(java.lang.String, int, boolean)">executeImpl</a></strong>(java.lang.String sql,
int autoGeneratedKeys,
boolean update)</code>
<div class="block">Implements the common functionality for plain statement <a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#execute(java.lang.String)"><code>execute(java.lang.String)</code></a>
and {#link #executeUpdate}: basic checks, cleaning up of previous
results, setting up and executing the query and loading the first
results.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.sql.SQLException</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeMSBatch(int, int, java.util.ArrayList)">executeMSBatch</a></strong>(int size,
int executeSize,
java.util.ArrayList counts)</code>
<div class="block">Execute the SQL batch on a MS server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.sql.ResultSet</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeQuery(java.lang.String)">executeQuery</a></strong>(java.lang.String sql)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeSQL(java.lang.String, java.lang.String, net.sourceforge.jtds.jdbc.ParamInfo[], boolean, boolean)">executeSQL</a></strong>(java.lang.String sql,
java.lang.String spName,
<a href="../../../../net/sourceforge/jtds/jdbc/ParamInfo.html" title="class in net.sourceforge.jtds.jdbc">ParamInfo</a>[] params,
boolean update,
boolean useCursor)</code>
<div class="block">Executes any type of SQL.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected java.sql.ResultSet</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeSQLQuery(java.lang.String, java.lang.String, net.sourceforge.jtds.jdbc.ParamInfo[], boolean)">executeSQLQuery</a></strong>(java.lang.String sql,
java.lang.String spName,
<a href="../../../../net/sourceforge/jtds/jdbc/ParamInfo.html" title="class in net.sourceforge.jtds.jdbc">ParamInfo</a>[] params,
boolean useCursor)</code>
<div class="block">Executes SQL to obtain a result set.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.sql.SQLException</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeSybaseBatch(int, int, java.util.ArrayList)">executeSybaseBatch</a></strong>(int size,
int executeSize,
java.util.ArrayList counts)</code>
<div class="block">Execute the SQL batch on a Sybase server.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeUpdate(java.lang.String)">executeUpdate</a></strong>(java.lang.String sql)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeUpdate(java.lang.String, int)">executeUpdate</a></strong>(java.lang.String sql,
int autoGeneratedKeys)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeUpdate(java.lang.String, int[])">executeUpdate</a></strong>(java.lang.String sql,
int[] columnIndexes)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeUpdate(java.lang.String, java.lang.String[])">executeUpdate</a></strong>(java.lang.String sql,
java.lang.String[] columnNames)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#finalize()">finalize</a></strong>()</code>
<div class="block">Called when this object goes out of scope to close any
<code>ResultSet</code> object and this statement.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.sql.Connection</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getConnection()">getConnection</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getDefaultFetchSize()">getDefaultFetchSize</a></strong>()</code>
<div class="block">Retrieve the default fetch size for this statement.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getFetchDirection()">getFetchDirection</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getFetchSize()">getFetchSize</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.sql.ResultSet</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getGeneratedKeys()">getGeneratedKeys</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getMaxFieldSize()">getMaxFieldSize</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getMaxRows()">getMaxRows</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) <a href="../../../../net/sourceforge/jtds/jdbc/SQLDiagnostic.html" title="class in net.sourceforge.jtds.jdbc">SQLDiagnostic</a></code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getMessages()">getMessages</a></strong>()</code>
<div class="block">Get the statement's warnings list.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getMoreResults()">getMoreResults</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getMoreResults(int)">getMoreResults</a></strong>(int current)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getQueryTimeout()">getQueryTimeout</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.sql.ResultSet</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getResultSet()">getResultSet</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getResultSetConcurrency()">getResultSetConcurrency</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getResultSetHoldability()">getResultSetHoldability</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getResultSetType()">getResultSetType</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>(package private) <a href="../../../../net/sourceforge/jtds/jdbc/TdsCore.html" title="class in net.sourceforge.jtds.jdbc">TdsCore</a></code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getTds()">getTds</a></strong>()</code>
<div class="block">Get the Statement's TDS object.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getUpdateCount()">getUpdateCount</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.sql.SQLWarning</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#getWarnings()">getWarnings</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#isClosed()">isClosed</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#isCloseOnCompletion()">isCloseOnCompletion</a></strong>()</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#isPoolable()">isPoolable</a></strong>()</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#isWrapperFor(java.lang.Class)">isWrapperFor</a></strong>(java.lang.Class arg0)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>(package private) static void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#notImplemented(java.lang.String)">notImplemented</a></strong>(java.lang.String method)</code>
<div class="block">Report that user tried to call a method which has not been implemented.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>private boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#processResults(boolean)">processResults</a></strong>(boolean update)</code>
<div class="block">Queue up update counts into <a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#resultQueue"><code>resultQueue</code></a> until the end of the
response is reached or a <code>ResultSet</code> is encountered.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#reset()">reset</a></strong>()</code>
<div class="block">Resets the <code>Statement</code>, by cleaning up all queued and
unprocessed results.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#setCursorName(java.lang.String)">setCursorName</a></strong>(java.lang.String name)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#setEscapeProcessing(boolean)">setEscapeProcessing</a></strong>(boolean enable)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#setFetchDirection(int)">setFetchDirection</a></strong>(int direction)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#setFetchSize(int)">setFetchSize</a></strong>(int rows)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#setMaxFieldSize(int)">setMaxFieldSize</a></strong>(int max)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#setMaxRows(int)">setMaxRows</a></strong>(int max)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#setPoolable(boolean)">setPoolable</a></strong>(boolean poolable)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#setQueryTimeout(int)">setQueryTimeout</a></strong>(int seconds)</code> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><T> T</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#unwrap(java.lang.Class)">unwrap</a></strong>(java.lang.Class<T> iface)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected boolean</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#useCursor(boolean, java.lang.String)">useCursor</a></strong>(boolean returnKeys,
java.lang.String sqlWord)</code>
<div class="block">Determines whether a cursor should be used based on the requested result
set type and concurrency, whether a cursor name has been set, the
<code>useCursors</code> connection property has been set, the first
word in the SQL query is either SELECT or EXEC/EXECUTE and no generated
keys are returned.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class java.lang.Object</h3>
<code>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field_detail">
<!-- -->
</a>
<h3>Field Detail</h3>
<a name="GENKEYCOL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>GENKEYCOL</h4>
<pre>static final java.lang.String GENKEYCOL</pre>
<div class="block">Column name to be used for retrieving generated keys from the server:
"_JTDS_GENE_RATED_KEYS_"</div>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#net.sourceforge.jtds.jdbc.JtdsStatement.GENKEYCOL">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="RETURN_GENERATED_KEYS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>RETURN_GENERATED_KEYS</h4>
<pre>static final int RETURN_GENERATED_KEYS</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#net.sourceforge.jtds.jdbc.JtdsStatement.RETURN_GENERATED_KEYS">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="NO_GENERATED_KEYS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>NO_GENERATED_KEYS</h4>
<pre>static final int NO_GENERATED_KEYS</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#net.sourceforge.jtds.jdbc.JtdsStatement.NO_GENERATED_KEYS">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CLOSE_CURRENT_RESULT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CLOSE_CURRENT_RESULT</h4>
<pre>static final int CLOSE_CURRENT_RESULT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#net.sourceforge.jtds.jdbc.JtdsStatement.CLOSE_CURRENT_RESULT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="KEEP_CURRENT_RESULT">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>KEEP_CURRENT_RESULT</h4>
<pre>static final int KEEP_CURRENT_RESULT</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#net.sourceforge.jtds.jdbc.JtdsStatement.KEEP_CURRENT_RESULT">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="CLOSE_ALL_RESULTS">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>CLOSE_ALL_RESULTS</h4>
<pre>static final int CLOSE_ALL_RESULTS</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#net.sourceforge.jtds.jdbc.JtdsStatement.CLOSE_ALL_RESULTS">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="BOOLEAN">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>BOOLEAN</h4>
<pre>static final int BOOLEAN</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#net.sourceforge.jtds.jdbc.JtdsStatement.BOOLEAN">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="DATALINK">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DATALINK</h4>
<pre>static final int DATALINK</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#net.sourceforge.jtds.jdbc.JtdsStatement.DATALINK">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="SUCCESS_NO_INFO">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SUCCESS_NO_INFO</h4>
<pre>static final java.lang.Integer SUCCESS_NO_INFO</pre>
</li>
</ul>
<a name="EXECUTE_FAILED">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>EXECUTE_FAILED</h4>
<pre>static final java.lang.Integer EXECUTE_FAILED</pre>
</li>
</ul>
<a name="DEFAULT_FETCH_SIZE">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DEFAULT_FETCH_SIZE</h4>
<pre>static final int DEFAULT_FETCH_SIZE</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#net.sourceforge.jtds.jdbc.JtdsStatement.DEFAULT_FETCH_SIZE">Constant Field Values</a></dd></dl>
</li>
</ul>
<a name="connection">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>connection</h4>
<pre>protected <a href="../../../../net/sourceforge/jtds/jdbc/JtdsConnection.html" title="class in net.sourceforge.jtds.jdbc">JtdsConnection</a> connection</pre>
<div class="block">The connection owning this statement object.</div>
</li>
</ul>
<a name="tds">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>tds</h4>
<pre>protected <a href="../../../../net/sourceforge/jtds/jdbc/TdsCore.html" title="class in net.sourceforge.jtds.jdbc">TdsCore</a> tds</pre>
<div class="block">The TDS object used for server access.</div>
</li>
</ul>
<a name="queryTimeout">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>queryTimeout</h4>
<pre>protected int queryTimeout</pre>
<div class="block">The read query timeout in seconds</div>
</li>
</ul>
<a name="currentResult">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>currentResult</h4>
<pre>protected <a href="../../../../net/sourceforge/jtds/jdbc/JtdsResultSet.html" title="class in net.sourceforge.jtds.jdbc">JtdsResultSet</a> currentResult</pre>
<div class="block">The current <code>ResultSet</code>.</div>
</li>
</ul>
<a name="updateCount">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>updateCount</h4>
<pre>private int updateCount</pre>
<div class="block">The current update count.</div>
</li>
</ul>
<a name="fetchDirection">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fetchDirection</h4>
<pre>protected int fetchDirection</pre>
<div class="block">The fetch direction for result sets.</div>
</li>
</ul>
<a name="resultSetType">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resultSetType</h4>
<pre>protected int resultSetType</pre>
<div class="block">The type of result sets created by this statement.</div>
</li>
</ul>
<a name="resultSetConcurrency">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resultSetConcurrency</h4>
<pre>protected int resultSetConcurrency</pre>
<div class="block">The concurrency of result sets created by this statement.</div>
</li>
</ul>
<a name="fetchSize">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>fetchSize</h4>
<pre>protected int fetchSize</pre>
<div class="block">The fetch size (default 100, only used by cursor
<code>ResultSet</code>s).</div>
</li>
</ul>
<a name="cursorName">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cursorName</h4>
<pre>protected java.lang.String cursorName</pre>
<div class="block">The cursor name to be used for positioned updates.</div>
</li>
</ul>
<a name="maxFieldSize">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maxFieldSize</h4>
<pre>protected int maxFieldSize</pre>
<div class="block">The maximum field size (not used at present).</div>
</li>
</ul>
<a name="maxRows">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maxRows</h4>
<pre>protected int maxRows</pre>
<div class="block">The maximum number of rows to return (not used at present).</div>
</li>
</ul>
<a name="escapeProcessing">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>escapeProcessing</h4>
<pre>protected boolean escapeProcessing</pre>
<div class="block">True if SQL statements should be preprocessed.</div>
</li>
</ul>
<a name="messages">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>messages</h4>
<pre>protected final <a href="../../../../net/sourceforge/jtds/jdbc/SQLDiagnostic.html" title="class in net.sourceforge.jtds.jdbc">SQLDiagnostic</a> messages</pre>
<div class="block">SQL Diagnostic exceptions and warnings.</div>
</li>
</ul>
<a name="batchValues">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>batchValues</h4>
<pre>protected java.util.ArrayList batchValues</pre>
<div class="block">Batched SQL Statement array.</div>
</li>
</ul>
<a name="genKeyResultSet">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>genKeyResultSet</h4>
<pre>protected <a href="../../../../net/sourceforge/jtds/jdbc/CachedResultSet.html" title="class in net.sourceforge.jtds.jdbc">CachedResultSet</a> genKeyResultSet</pre>
<div class="block">Dummy result set for getGeneratedKeys.</div>
</li>
</ul>
<a name="resultQueue">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>resultQueue</h4>
<pre>protected final java.util.LinkedList resultQueue</pre>
<div class="block">List of queued results (update counts, possibly followed by a
<code>ResultSet</code>).</div>
</li>
</ul>
<a name="openResultSets">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>openResultSets</h4>
<pre>protected java.util.ArrayList openResultSets</pre>
<div class="block">List of open result sets.</div>
</li>
</ul>
<a name="colMetaData">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>colMetaData</h4>
<pre>protected <a href="../../../../net/sourceforge/jtds/jdbc/ColInfo.html" title="class in net.sourceforge.jtds.jdbc">ColInfo</a>[] colMetaData</pre>
<div class="block">The cached column meta data.</div>
</li>
</ul>
<a name="_Closed">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>_Closed</h4>
<pre>private final java.util.concurrent.atomic.AtomicInteger _Closed</pre>
<div class="block"><table>
<tr>
<td>0</td>
<td>- this statement is open</td>
</tr>
<tr>
<td>1</td>
<td>- this statement is currently being closed</td>
</tr>
<tr>
<td>2</td>
<td>- this statement is closed</td>
</tr>
</table></div>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="JtdsStatement(net.sourceforge.jtds.jdbc.JtdsConnection, int, int)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>JtdsStatement</h4>
<pre>JtdsStatement(<a href="../../../../net/sourceforge/jtds/jdbc/JtdsConnection.html" title="class in net.sourceforge.jtds.jdbc">JtdsConnection</a> connection,
int resultSetType,
int resultSetConcurrency)
throws java.sql.SQLException</pre>
<div class="block">Construct a new Statement object.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>connection</code> - The parent connection.</dd><dd><code>resultSetType</code> - The result set type for example TYPE_FORWARD_ONLY.</dd><dd><code>resultSetConcurrency</code> - The concurrency for example CONCUR_READ_ONLY.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="finalize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>finalize</h4>
<pre>protected void finalize()
throws java.lang.Throwable</pre>
<div class="block">Called when this object goes out of scope to close any
<code>ResultSet</code> object and this statement.</div>
<dl>
<dt><strong>Overrides:</strong></dt>
<dd><code>finalize</code> in class <code>java.lang.Object</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Throwable</code></dd></dl>
</li>
</ul>
<a name="getTds()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getTds</h4>
<pre><a href="../../../../net/sourceforge/jtds/jdbc/TdsCore.html" title="class in net.sourceforge.jtds.jdbc">TdsCore</a> getTds()</pre>
<div class="block">Get the Statement's TDS object.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The TDS support as a <code>TdsCore</core> Object.</dd></dl>
</li>
</ul>
<a name="getMessages()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMessages</h4>
<pre><a href="../../../../net/sourceforge/jtds/jdbc/SQLDiagnostic.html" title="class in net.sourceforge.jtds.jdbc">SQLDiagnostic</a> getMessages()</pre>
<div class="block">Get the statement's warnings list.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>The warnings list as a <code>SQLDiagnostic</code>.</dd></dl>
</li>
</ul>
<a name="checkOpen()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkOpen</h4>
<pre>protected void checkOpen()
throws java.sql.SQLException</pre>
<div class="block">Check that this statement is still open.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - if statement closed.</dd></dl>
</li>
</ul>
<a name="checkCursorException(java.sql.SQLException)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>checkCursorException</h4>
<pre>protected void checkCursorException(java.sql.SQLException e)
throws java.sql.SQLException</pre>
<div class="block">Check that the exception is caused by the failure to open a
cursor and not by a more serious SQL error.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>e</code> - the exception returned by the cursor class</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - if exception is not due to a cursor error</dd></dl>
</li>
</ul>
<a name="notImplemented(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>notImplemented</h4>
<pre>static void notImplemented(java.lang.String method)
throws java.sql.SQLException</pre>
<div class="block">Report that user tried to call a method which has not been implemented.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>method</code> - The method name to report in the error message.</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="closeCurrentResultSet()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>closeCurrentResultSet</h4>
<pre>void closeCurrentResultSet()
throws java.sql.SQLException</pre>
<div class="block">Close current result set (if any).</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="closeAllResultSets()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>closeAllResultSets</h4>
<pre>void closeAllResultSets()
throws java.sql.SQLException</pre>
<div class="block">Close all result sets.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="addWarning(java.sql.SQLWarning)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addWarning</h4>
<pre>void addWarning(java.sql.SQLWarning w)</pre>
<div class="block">Add an SQLWarning object to the statement warnings list.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>w</code> - The SQLWarning to add.</dd></dl>
</li>
</ul>
<a name="executeMSBatch(int, int, java.util.ArrayList)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeMSBatch</h4>
<pre>protected java.sql.SQLException executeMSBatch(int size,
int executeSize,
java.util.ArrayList counts)
throws java.sql.SQLException</pre>
<div class="block">Execute the SQL batch on a MS server.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>size</code> - the total size of the batch</dd><dd><code>executeSize</code> - the maximum number of statements to send in one request</dd><dd><code>counts</code> - the returned update counts</dd>
<dt><span class="strong">Returns:</span></dt><dd>chained exceptions linked to a <code>SQLException</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - if a serious error occurs during execution</dd></dl>
</li>
</ul>
<a name="executeSybaseBatch(int, int, java.util.ArrayList)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeSybaseBatch</h4>
<pre>protected java.sql.SQLException executeSybaseBatch(int size,
int executeSize,
java.util.ArrayList counts)
throws java.sql.SQLException</pre>
<div class="block">Execute the SQL batch on a Sybase server.
<p/>
Sybase needs to have the SQL concatenated into one TDS language packet. This method will be overriden for
<code>PreparedStatements</code>.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>size</code> - the total size of the batch</dd><dd><code>executeSize</code> - the maximum number of statements to send in one request</dd><dd><code>counts</code> - the returned update counts</dd>
<dt><span class="strong">Returns:</span></dt><dd>chained exceptions linked to a <code>SQLException</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - if a serious error occurs during execution</dd></dl>
</li>
</ul>
<a name="executeSQLQuery(java.lang.String, java.lang.String, net.sourceforge.jtds.jdbc.ParamInfo[], boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeSQLQuery</h4>
<pre>protected java.sql.ResultSet executeSQLQuery(java.lang.String sql,
java.lang.String spName,
<a href="../../../../net/sourceforge/jtds/jdbc/ParamInfo.html" title="class in net.sourceforge.jtds.jdbc">ParamInfo</a>[] params,
boolean useCursor)
throws java.sql.SQLException</pre>
<div class="block">Executes SQL to obtain a result set.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sql</code> - the SQL statement to execute</dd><dd><code>spName</code> - optional stored procedure name</dd><dd><code>params</code> - optional parameters</dd><dd><code>useCursor</code> - whether a cursor should be created for the SQL</dd>
<dt><span class="strong">Returns:</span></dt><dd>the result set generated by the query</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="executeSQL(java.lang.String, java.lang.String, net.sourceforge.jtds.jdbc.ParamInfo[], boolean, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeSQL</h4>
<pre>protected boolean executeSQL(java.lang.String sql,
java.lang.String spName,
<a href="../../../../net/sourceforge/jtds/jdbc/ParamInfo.html" title="class in net.sourceforge.jtds.jdbc">ParamInfo</a>[] params,
boolean update,
boolean useCursor)
throws java.sql.SQLException</pre>
<div class="block">Executes any type of SQL.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sql</code> - the SQL statement to execute</dd><dd><code>spName</code> - optional stored procedure name</dd><dd><code>params</code> - optional parameters</dd><dd><code>update</code> - whether the caller is <a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeUpdate(java.lang.String)"><code>executeUpdate(java.lang.String)</code></a></dd><dd><code>useCursor</code> - whether the requested result set type or concurrency
or connection properties request usage of a cursor</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the first result is a result set</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - if an error condition occurs</dd></dl>
</li>
</ul>
<a name="processResults(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>processResults</h4>
<pre>private boolean processResults(boolean update)
throws java.sql.SQLException</pre>
<div class="block">Queue up update counts into <a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#resultQueue"><code>resultQueue</code></a> until the end of the
response is reached or a <code>ResultSet</code> is encountered. Calling
<code>processResults</code> while a <code>ResultSet</code> is open will
not close it, but will consume all remaining rows.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>update</code> - <code>true</code> if the method is called from within
<code>executeUpdate</code></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if there are any results, <code>false</code> otherwise</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - if an error condition occurs</dd></dl>
</li>
</ul>
<a name="cacheResults()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cacheResults</h4>
<pre>protected void cacheResults()
throws java.sql.SQLException</pre>
<div class="block">Cache as many results as possible (up to the first
<code>ResultSet</code>). Called by <code>ResultSet</code>s when the
end is reached.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="reset()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reset</h4>
<pre>protected void reset()
throws java.sql.SQLException</pre>
<div class="block">Resets the <code>Statement</code>, by cleaning up all queued and
unprocessed results. Called by all execute methods and <a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#close()"><code>close()</code></a></div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code> - if an error occurs</dd></dl>
</li>
</ul>
<a name="executeImpl(java.lang.String, int, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeImpl</h4>
<pre>private boolean executeImpl(java.lang.String sql,
int autoGeneratedKeys,
boolean update)
throws java.sql.SQLException</pre>
<div class="block">Implements the common functionality for plain statement <a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#execute(java.lang.String)"><code>execute(java.lang.String)</code></a>
and {#link #executeUpdate}: basic checks, cleaning up of previous
results, setting up and executing the query and loading the first
results.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>sql</code> - an SQL <code>INSERT</code>, <code>UPDATE</code> or
<code>DELETE</code> statement or an SQL statement that
returns nothing, such as an SQL DDL statement</dd><dd><code>autoGeneratedKeys</code> - a flag indicating whether auto-generated keys
should be made available for retrieval</dd><dd><code>update</code> - boolean flag indicating whether the caller is
<a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeUpdate(java.lang.String)"><code>executeUpdate(java.lang.String)</code></a> -- in this case an exception is
thrown if the first result is not an update count and no
cursor is created (direct execution)</dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if the first result is a
<code>ResultSet</code>, <code>false</code> if it's an update
count</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#execute(java.lang.String)"><code>execute(java.lang.String)</code></a>,
<a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeUpdate(java.lang.String)"><code>executeUpdate(java.lang.String)</code></a></dd></dl>
</li>
</ul>
<a name="useCursor(boolean, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>useCursor</h4>
<pre>protected boolean useCursor(boolean returnKeys,
java.lang.String sqlWord)</pre>
<div class="block">Determines whether a cursor should be used based on the requested result
set type and concurrency, whether a cursor name has been set, the
<code>useCursors</code> connection property has been set, the first
word in the SQL query is either SELECT or EXEC/EXECUTE and no generated
keys are returned.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>returnKeys</code> - indicates whether keys will be returned by the query</dd><dd><code>sqlWord</code> - the first word in the SQL query; can be
<code>null</code> if the caller is
<a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html#executeQuery(java.lang.String)"><code>executeQuery(java.lang.String)</code></a></dd>
<dt><span class="strong">Returns:</span></dt><dd><code>true</code> if a cursor should be used, <code>false</code>
if not</dd></dl>
</li>
</ul>
<a name="getDefaultFetchSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getDefaultFetchSize</h4>
<pre>int getDefaultFetchSize()</pre>
<div class="block">Retrieve the default fetch size for this statement.</div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the default fetch size for a new <code>ResultSet</code></dd></dl>
</li>
</ul>
<a name="getFetchDirection()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFetchDirection</h4>
<pre>public int getFetchDirection()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getFetchDirection</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getFetchSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getFetchSize</h4>
<pre>public int getFetchSize()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getFetchSize</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getMaxFieldSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxFieldSize</h4>
<pre>public int getMaxFieldSize()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getMaxFieldSize</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getMaxRows()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxRows</h4>
<pre>public int getMaxRows()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getMaxRows</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getQueryTimeout()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getQueryTimeout</h4>
<pre>public int getQueryTimeout()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getQueryTimeout</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getResultSetConcurrency()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResultSetConcurrency</h4>
<pre>public int getResultSetConcurrency()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getResultSetConcurrency</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getResultSetHoldability()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResultSetHoldability</h4>
<pre>public int getResultSetHoldability()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getResultSetHoldability</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getResultSetType()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResultSetType</h4>
<pre>public int getResultSetType()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getResultSetType</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getUpdateCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getUpdateCount</h4>
<pre>public int getUpdateCount()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getUpdateCount</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="cancel()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>cancel</h4>
<pre>public void cancel()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>cancel</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="clearBatch()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearBatch</h4>
<pre>public void clearBatch()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>clearBatch</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="clearWarnings()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearWarnings</h4>
<pre>public void clearWarnings()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>clearWarnings</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="close()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>close</h4>
<pre>public void close()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>close</code> in interface <code>java.lang.AutoCloseable</code></dd>
<dt><strong>Specified by:</strong></dt>
<dd><code>close</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getMoreResults()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMoreResults</h4>
<pre>public boolean getMoreResults()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getMoreResults</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="executeBatch()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeBatch</h4>
<pre>public int[] executeBatch()
throws java.sql.SQLException,
java.sql.BatchUpdateException</pre>
<div class="block">Execute batch of SQL Statements.
<p/>
The JDBC3 standard says that the behavior of this method must be
consistent for any DBMS. As Sybase (and to a lesser extent SQL Server)
will sometimes continue after a batch execution error, the only way to
comply with the standard is to always return an array of update counts
the same size as the batch list. Slots in the array beyond the last
executed statement are set to <code>EXECUTE_FAILED</code>. <p/>
There is a problem with certain statements, returning more update counts
than there are batch operations. (see bug [])</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>executeBatch</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>update counts as an <code>int[]</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd>
<dd><code>java.sql.BatchUpdateException</code></dd></dl>
</li>
</ul>
<a name="setFetchDirection(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFetchDirection</h4>
<pre>public void setFetchDirection(int direction)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setFetchDirection</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="setFetchSize(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setFetchSize</h4>
<pre>public void setFetchSize(int rows)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setFetchSize</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="setMaxFieldSize(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxFieldSize</h4>
<pre>public void setMaxFieldSize(int max)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setMaxFieldSize</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="setMaxRows(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxRows</h4>
<pre>public void setMaxRows(int max)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setMaxRows</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="setQueryTimeout(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setQueryTimeout</h4>
<pre>public void setQueryTimeout(int seconds)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setQueryTimeout</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getMoreResults(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMoreResults</h4>
<pre>public boolean getMoreResults(int current)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getMoreResults</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="setEscapeProcessing(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setEscapeProcessing</h4>
<pre>public void setEscapeProcessing(boolean enable)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setEscapeProcessing</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="executeUpdate(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeUpdate</h4>
<pre>public int executeUpdate(java.lang.String sql)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>executeUpdate</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="addBatch(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addBatch</h4>
<pre>public void addBatch(java.lang.String sql)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>addBatch</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="setCursorName(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setCursorName</h4>
<pre>public void setCursorName(java.lang.String name)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setCursorName</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="execute(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public boolean execute(java.lang.String sql)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>execute</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="executeUpdate(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeUpdate</h4>
<pre>public int executeUpdate(java.lang.String sql,
int autoGeneratedKeys)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>executeUpdate</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="execute(java.lang.String, int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public boolean execute(java.lang.String sql,
int autoGeneratedKeys)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>execute</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="executeUpdate(java.lang.String, int[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeUpdate</h4>
<pre>public int executeUpdate(java.lang.String sql,
int[] columnIndexes)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>executeUpdate</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="execute(java.lang.String, int[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public boolean execute(java.lang.String sql,
int[] columnIndexes)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>execute</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getConnection()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getConnection</h4>
<pre>public java.sql.Connection getConnection()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getConnection</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getGeneratedKeys()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGeneratedKeys</h4>
<pre>public java.sql.ResultSet getGeneratedKeys()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getGeneratedKeys</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getResultSet()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getResultSet</h4>
<pre>public java.sql.ResultSet getResultSet()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getResultSet</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="getWarnings()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getWarnings</h4>
<pre>public java.sql.SQLWarning getWarnings()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>getWarnings</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="executeUpdate(java.lang.String, java.lang.String[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeUpdate</h4>
<pre>public int executeUpdate(java.lang.String sql,
java.lang.String[] columnNames)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>executeUpdate</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="execute(java.lang.String, java.lang.String[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>execute</h4>
<pre>public boolean execute(java.lang.String sql,
java.lang.String[] columnNames)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>execute</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="executeQuery(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>executeQuery</h4>
<pre>public java.sql.ResultSet executeQuery(java.lang.String sql)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>executeQuery</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="isClosed()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isClosed</h4>
<pre>public boolean isClosed()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>isClosed</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Returns:</span></dt><dd>whether this <a href="../../../../net/sourceforge/jtds/jdbc/JtdsStatement.html" title="class in net.sourceforge.jtds.jdbc"><code>JtdsStatement</code></a> has been closed</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="isPoolable()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isPoolable</h4>
<pre>public boolean isPoolable()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>isPoolable</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="setPoolable(boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPoolable</h4>
<pre>public void setPoolable(boolean poolable)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>setPoolable</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="isWrapperFor(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isWrapperFor</h4>
<pre>public boolean isWrapperFor(java.lang.Class arg0)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>isWrapperFor</code> in interface <code>java.sql.Wrapper</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="unwrap(java.lang.Class)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>unwrap</h4>
<pre>public <T> T unwrap(java.lang.Class<T> iface)
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>unwrap</code> in interface <code>java.sql.Wrapper</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="closeOnCompletion()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>closeOnCompletion</h4>
<pre>public void closeOnCompletion()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>closeOnCompletion</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="isCloseOnCompletion()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>isCloseOnCompletion</h4>
<pre>public boolean isCloseOnCompletion()
throws java.sql.SQLException</pre>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code>isCloseOnCompletion</code> in interface <code>java.sql.Statement</code></dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!-- -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!-- -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/JtdsStatement.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-all.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../../net/sourceforge/jtds/jdbc/JtdsResultSetMetaData.html" title="class in net.sourceforge.jtds.jdbc"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../net/sourceforge/jtds/jdbc/LargeLOBTest.html" title="class in net.sourceforge.jtds.jdbc"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?net/sourceforge/jtds/jdbc/JtdsStatement.html" target="_top">Frames</a></li>
<li><a href="JtdsStatement.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary: </li>
<li>Nested | </li>
<li><a href="#field_summary">Field</a> | </li>
<li><a href="#constructor_summary">Constr</a> | </li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail: </li>
<li><a href="#field_detail">Field</a> | </li>
<li><a href="#constructor_detail">Constr</a> | </li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small>Generated on June 8 2013</small></p>
</body>
</html>
|