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
|
<!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>SAfeTest (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="SAfeTest (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/SAfeTest.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/ResultSetTest.html" title="class in net.sourceforge.jtds.jdbc"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../net/sourceforge/jtds/jdbc/SanityTest.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/SAfeTest.html" target="_top">Frames</a></li>
<li><a href="SAfeTest.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="#fields_inherited_from_class_net.sourceforge.jtds.jdbc.TestBase">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>Field | </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 SAfeTest" class="title">Class SAfeTest</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>TestCase</li>
<li>
<ul class="inheritance">
<li><a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html" title="class in net.sourceforge.jtds.jdbc">net.sourceforge.jtds.jdbc.TestBase</a></li>
<li>
<ul class="inheritance">
<li><a href="../../../../net/sourceforge/jtds/jdbc/DatabaseTestCase.html" title="class in net.sourceforge.jtds.jdbc">net.sourceforge.jtds.jdbc.DatabaseTestCase</a></li>
<li>
<ul class="inheritance">
<li>net.sourceforge.jtds.jdbc.SAfeTest</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<hr>
<br>
<pre>public class <span class="strong">SAfeTest</span>
extends <a href="../../../../net/sourceforge/jtds/jdbc/DatabaseTestCase.html" title="class in net.sourceforge.jtds.jdbc">DatabaseTestCase</a></pre>
<dl><dt><span class="strong">Since:</span></dt>
<dd>0.4</dd>
<dt><span class="strong">Version:</span></dt>
<dd>$Id: SAfeTest.java,v 1.62.2.1 2009-08-04 10:33:54 ickzon Exp $</dd>
<dt><span class="strong">Author:</span></dt>
<dd>Alin Sinpalean</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>
<ul class="blockList">
<li class="blockList"><a name="fields_inherited_from_class_net.sourceforge.jtds.jdbc.TestBase">
<!-- -->
</a>
<h3>Fields inherited from class net.sourceforge.jtds.jdbc.<a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html" title="class in net.sourceforge.jtds.jdbc">TestBase</a></h3>
<code><a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#con">con</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#props">props</a></code></li>
</ul>
</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/SAfeTest.html#SAfeTest(java.lang.String)">SAfeTest</a></strong>(java.lang.String name)</code> </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>private static void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#insertBigDecimal(java.sql.PreparedStatement, double, boolean)">insertBigDecimal</a></strong>(java.sql.PreparedStatement stmt,
double val,
boolean scaleFlag)</code>
<div class="block">Helper method for <code>testBigDecimal0007</code>.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#main(java.lang.String[])">main</a></strong>(java.lang.String[] args)</code> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testBatchUpdates0015()">testBatchUpdates0015</a></strong>()</code>
<div class="block">Test batch updates for both plain and prepared statements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testBigDecimal0007()">testBigDecimal0007</a></strong>()</code>
<div class="block">Test <code>BigDecimal</code>s created from double values (i.e with very
large scales).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testBigDecimal1()">testBigDecimal1</a></strong>()</code>
<div class="block">Test for bug [939206] TdsException: can't sent this BigDecimal</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testBitFields0005()">testBitFields0005</a></strong>()</code>
<div class="block">Check that values returned from bit fields are correct (not just 0) (bug #841670).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testBytesToString()">testBytesToString</a></strong>()</code>
<div class="block">Test that getString() on a varbinary column returns a hex string.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testCallableStatement0006()">testCallableStatement0006</a></strong>()</code>
<div class="block">Test that <code>CallableStatement</code>s with return values work correctly.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testCallableStatementVarchar0010()">testCallableStatementVarchar0010</a></strong>()</code>
<div class="block">Test VARCHAR output parameters returned by CallableStatements.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testCancel0001()">testCancel0001</a></strong>()</code>
<div class="block">Test cancelling.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testCancel0002()">testCancel0002</a></strong>()</code>
<div class="block">Test cancelling.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testCancel0003()">testCancel0003</a></strong>()</code>
<div class="block"> Test for bug #343, Statement hangs in socket read after <code>Statement.cancel()</code>.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testCursorResultSetConcurrency0003()">testCursorResultSetConcurrency0003</a></strong>()</code>
<div class="block"> Test <code>CursorResultSet</code> concurrency.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testCursorResultSetEmpty0004()">testCursorResultSetEmpty0004</a></strong>()</code>
<div class="block">Check that meta data information is fetched even for empty cursor-based result sets (bug #613199).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testDataTruncException()">testDataTruncException</a></strong>()</code>
<div class="block">Test <code>DataTruncation</code> exception.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testDatetimeRounding1()">testDatetimeRounding1</a></strong>()</code>
<div class="block">Test for bug [983561] getDatetimeValue truncates fractional milliseconds</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testDeleteRow0009()">testDeleteRow0009</a></strong>()</code>
<div class="block">Test <code>ResultSet.deleteRow()</code> on updateable result sets.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testExecuteUpdateSelect()">testExecuteUpdateSelect</a></strong>()</code>
<div class="block">Tests that <code>executeUpdate("SELECT ...")</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testFloat1()">testFloat1</a></strong>()</code>
<div class="block">Test for bug [963799] float values change when written to the database</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testFnEscape()">testFnEscape</a></strong>()</code>
<div class="block">Test for bug related with [1368058] Calling StoredProcedure with
functions ({fn} escape can't handle special characters, e.g. underscore).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testFnEscapeNesting()">testFnEscapeNesting</a></strong>()</code>
<div class="block">Test for bug #1116046 {fn } escape can't handle nested functions.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testGetMultiScrollRs()">testGetMultiScrollRs</a></strong>()</code>
<div class="block">Test return of multiple scrollable result sets from one execute.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testInsertRow0012()">testInsertRow0012</a></strong>()</code>
<div class="block">Test <code>ResultSet.insertRow()</code> on updateable result sets.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testLongToVarchar0008()">testLongToVarchar0008</a></strong>()</code>
<div class="block">Test writing <code>long</code> values to VARCHAR fields.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testMaxFieldSize()">testMaxFieldSize</a></strong>()</code>
<div class="block">Test <code>Statement.setMaxFieldSize()</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/SAfeTest.html#testNestedFunctions()">testNestedFunctions</a></strong>()</code>
<div class="block"> Regression test for bug #615, the SQL parser doesn't correctly handle
{fn } escapes containing nested (unescaped) functions.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testNullLengthStrings0001()">testNullLengthStrings0001</a></strong>()</code>
<div class="block">Test whether NULL values, 0-length strings and single space strings
are treated right.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testNullOutputParameters()">testNullOutputParameters</a></strong>()</code>
<div class="block">Test that <code>null</code> output parameters are handled correctly.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testOldDates0016()">testOldDates0016</a></strong>()</code>
<div class="block">Test that dates prior to 06/15/1940 0:00:00 are stored and retrieved
correctly.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testOutOfOrderClose0013()">testOutOfOrderClose0013</a></strong>()</code>
<div class="block">Test how an "out-of-order" close behaves (e.g close the
<code>Connection</code> first, then the <code>Statement</code> anf
finally the <code>ResultSet</code>).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testPlainResultSetPosition0004()">testPlainResultSetPosition0004</a></strong>()</code>
<div class="block">Check that the <code>isBeforeFirst</code>, <code>isAfterLast</code>,
<code>isFirst</code> and <code>isLast</code> methods work for
forward-only, read-only result sets (bug [1039876] MS SQL
JtdsResultSet.isAfterLast() always returns false).</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testPreparedAndCallableCursors0014()">testPreparedAndCallableCursors0014</a></strong>()</code>
<div class="block">Test cursor-based <code>ResultSet</code>s obtained from
<code>PreparedStatement</code>s and <code>CallableStatement</code>s.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testQueryTimeout()">testQueryTimeout</a></strong>()</code>
<div class="block">Test for bug [1222199] Delayed exception thrown in statement close.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testSocketConcurrency1()">testSocketConcurrency1</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/SAfeTest.html#testSocketConcurrency2()">testSocketConcurrency2</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/SAfeTest.html#testSocketConcurrency3()">testSocketConcurrency3</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/SAfeTest.html#testSocketConcurrency4()">testSocketConcurrency4</a></strong>()</code>
<div class="block">Test running SELECT queries on one <code>Statement</code> at the same
time as <code>cancel()</code> is called on a concurrent
<code>Statement</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/SAfeTest.html#testTableParsing()">testTableParsing</a></strong>()</code>
<div class="block">Test that the SQL parser doesn't try to parse the table name unless
necessary (or that it is able to parse function calls if it does).</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testThreadInterrupt()">testThreadInterrupt</a></strong>()</code>
<div class="block">Test for bug #507, executeQuery absorbs thread interrupt status</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testUnterminatedCommentParsing()">testUnterminatedCommentParsing</a></strong>()</code>
<div class="block">Test for bug [1187927] Driver Hangs on Statement.execute().</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../net/sourceforge/jtds/jdbc/SAfeTest.html#testUpdateRow0011()">testUpdateRow0011</a></strong>()</code>
<div class="block">Test <code>ResultSet.updateRow()</code> on updateable result sets.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_net.sourceforge.jtds.jdbc.DatabaseTestCase">
<!-- -->
</a>
<h3>Methods inherited from class net.sourceforge.jtds.jdbc.<a href="../../../../net/sourceforge/jtds/jdbc/DatabaseTestCase.html" title="class in net.sourceforge.jtds.jdbc">DatabaseTestCase</a></h3>
<code><a href="../../../../net/sourceforge/jtds/jdbc/DatabaseTestCase.html#compareBytes(byte[], byte[])">compareBytes</a>, <a href="../../../../net/sourceforge/jtds/jdbc/DatabaseTestCase.html#getLongString(char)">getLongString</a>, <a href="../../../../net/sourceforge/jtds/jdbc/DatabaseTestCase.html#getLongString(int)">getLongString</a>, <a href="../../../../net/sourceforge/jtds/jdbc/DatabaseTestCase.html#getType(java.lang.Object)">getType</a>, <a href="../../../../net/sourceforge/jtds/jdbc/DatabaseTestCase.html#getTypemap()">getTypemap</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_net.sourceforge.jtds.jdbc.TestBase">
<!-- -->
</a>
<h3>Methods inherited from class net.sourceforge.jtds.jdbc.<a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html" title="class in net.sourceforge.jtds.jdbc">TestBase</a></h3>
<code><a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#compareInputStreams(java.io.InputStream, java.io.InputStream)">compareInputStreams</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#compareReaders(java.io.Reader, java.io.Reader)">compareReaders</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#connect()">connect</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dropDatabase(java.lang.String)">dropDatabase</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dropFunction(java.lang.String)">dropFunction</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dropProcedure(java.lang.String)">dropProcedure</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dropTable(java.lang.String)">dropTable</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dropTrigger(java.lang.String)">dropTrigger</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dropType(java.lang.String)">dropType</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dropView(java.lang.String)">dropView</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dump(java.sql.ResultSet)">dump</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dump(java.sql.ResultSet, boolean)">dump</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dumpAll(java.sql.Statement)">dumpAll</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dumpKeys(java.sql.Statement)">dumpKeys</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dumpRow(java.sql.ResultSet)">dumpRow</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#dumpRow(java.sql.ResultSet, boolean)">dumpRow</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#getConnection()">getConnection</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#getConnection(java.util.Properties)">getConnection</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#makeObjects(java.sql.Statement, int)">makeObjects</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#makeTestTables(java.sql.Statement)">makeTestTables</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#setUp()">setUp</a>, <a href="../../../../net/sourceforge/jtds/jdbc/TestBase.html#tearDown()">tearDown</a></code></li>
</ul>
<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, finalize, 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">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="SAfeTest(java.lang.String)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>SAfeTest</h4>
<pre>public SAfeTest(java.lang.String name)</pre>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="main(java.lang.String[])">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>main</h4>
<pre>public static void main(java.lang.String[] args)</pre>
</li>
</ul>
<a name="testNullLengthStrings0001()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testNullLengthStrings0001</h4>
<pre>public void testNullLengthStrings0001()
throws java.lang.Exception</pre>
<div class="block">Test whether NULL values, 0-length strings and single space strings
are treated right.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testCancel0001()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCancel0001</h4>
<pre>public void testCancel0001()
throws java.lang.Exception</pre>
<div class="block">Test cancelling. Create 2 connections, lock some records on one of them
and try to read them using the other one. Cancel the statement from the
second connection, then try executing a simple query on it to make sure
it's in a correct state.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testCancel0002()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCancel0002</h4>
<pre>public void testCancel0002()
throws java.lang.Exception</pre>
<div class="block">Test cancelling. Create 2 connections, lock some records on one of them
and try to read them using the other one with a timeout set. When the
second connection times out try executing a simple query on it to make
sure it's in a correct state.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testCancel0003()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCancel0003</h4>
<pre>public void testCancel0003()
throws java.lang.Exception</pre>
<div class="block"><p> Test for bug #343, Statement hangs in socket read after <code>Statement.cancel()</code>. </p>
<p> In 1.0.1 and earlier versions network packets consisting of a single
TDS_DONE packet with the CANCEL flag set were ignored and a new read()
was attempted, essentially causing a deadlock. </p>
<p> Because it relies on a particular succession of events this test will
not always work as expected, i.e. the cancel might be executed too early
or too late, but it won't fail in this situation. </p></div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testQueryTimeout()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testQueryTimeout</h4>
<pre>public void testQueryTimeout()
throws java.lang.Exception</pre>
<div class="block">Test for bug [1222199] Delayed exception thrown in statement close.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testCursorResultSetConcurrency0003()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCursorResultSetConcurrency0003</h4>
<pre>public void testCursorResultSetConcurrency0003()
throws java.lang.Exception</pre>
<div class="block"><p> Test <code>CursorResultSet</code> concurrency. Create a number of threads
that execute concurrent queries using scrollable result sets. All requests
should be run on the same connection. </p></div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testCursorResultSetEmpty0004()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCursorResultSetEmpty0004</h4>
<pre>public void testCursorResultSetEmpty0004()
throws java.lang.Exception</pre>
<div class="block">Check that meta data information is fetched even for empty cursor-based result sets (bug #613199).</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testPlainResultSetPosition0004()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testPlainResultSetPosition0004</h4>
<pre>public void testPlainResultSetPosition0004()
throws java.lang.Exception</pre>
<div class="block">Check that the <code>isBeforeFirst</code>, <code>isAfterLast</code>,
<code>isFirst</code> and <code>isLast</code> methods work for
forward-only, read-only result sets (bug [1039876] MS SQL
JtdsResultSet.isAfterLast() always returns false).</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code> - if an error condition occurs</dd></dl>
</li>
</ul>
<a name="testBitFields0005()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testBitFields0005</h4>
<pre>public void testBitFields0005()
throws java.lang.Exception</pre>
<div class="block">Check that values returned from bit fields are correct (not just 0) (bug #841670).</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testCallableStatement0006()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCallableStatement0006</h4>
<pre>public void testCallableStatement0006()
throws java.lang.Exception</pre>
<div class="block">Test that <code>CallableStatement</code>s with return values work correctly.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="insertBigDecimal(java.sql.PreparedStatement, double, boolean)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>insertBigDecimal</h4>
<pre>private static void insertBigDecimal(java.sql.PreparedStatement stmt,
double val,
boolean scaleFlag)
throws java.lang.Exception</pre>
<div class="block">Helper method for <code>testBigDecimal0007</code>. Inserts a BigDecimal
value obtained from a double value.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>stmt</code> - <code>PreparedStatement</code> instance</dd><dd><code>val</code> - the <code>double</code> value to insert</dd><dd><code>scaleFlag</code> - if <code>true</code> scale the value to 4, otherwise
leave it as it is</dd>
<dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testBigDecimal0007()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testBigDecimal0007</h4>
<pre>public void testBigDecimal0007()
throws java.lang.Exception</pre>
<div class="block">Test <code>BigDecimal</code>s created from double values (i.e with very
large scales).</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testLongToVarchar0008()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testLongToVarchar0008</h4>
<pre>public void testLongToVarchar0008()
throws java.lang.Exception</pre>
<div class="block">Test writing <code>long</code> values to VARCHAR fields. There was a
regression introduced in release 0.6 that caused <code>long</code>
fields to be sent with non-zero scale and appear with decimals when
written into VARCHAR fields.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testDeleteRow0009()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testDeleteRow0009</h4>
<pre>public void testDeleteRow0009()
throws java.lang.Exception</pre>
<div class="block">Test <code>ResultSet.deleteRow()</code> on updateable result sets.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testCallableStatementVarchar0010()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testCallableStatementVarchar0010</h4>
<pre>public void testCallableStatementVarchar0010()
throws java.lang.Exception</pre>
<div class="block">Test VARCHAR output parameters returned by CallableStatements.
<p>
An issue existed, caused by the fact that the parameter was sent to SQL
Server as a short VARCHAR (not XORed with 0x80) limiting its length to
255 characters. See bug [815348] for more details.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testUpdateRow0011()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testUpdateRow0011</h4>
<pre>public void testUpdateRow0011()
throws java.lang.Exception</pre>
<div class="block">Test <code>ResultSet.updateRow()</code> on updateable result sets.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testInsertRow0012()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testInsertRow0012</h4>
<pre>public void testInsertRow0012()
throws java.lang.Exception</pre>
<div class="block">Test <code>ResultSet.insertRow()</code> on updateable result sets.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testOutOfOrderClose0013()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testOutOfOrderClose0013</h4>
<pre>public void testOutOfOrderClose0013()
throws java.lang.Exception</pre>
<div class="block">Test how an "out-of-order" close behaves (e.g close the
<code>Connection</code> first, then the <code>Statement</code> anf
finally the <code>ResultSet</code>).</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testPreparedAndCallableCursors0014()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testPreparedAndCallableCursors0014</h4>
<pre>public void testPreparedAndCallableCursors0014()
throws java.lang.Exception</pre>
<div class="block">Test cursor-based <code>ResultSet</code>s obtained from
<code>PreparedStatement</code>s and <code>CallableStatement</code>s.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testBatchUpdates0015()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testBatchUpdates0015</h4>
<pre>public void testBatchUpdates0015()
throws java.lang.Exception</pre>
<div class="block">Test batch updates for both plain and prepared statements.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testOldDates0016()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testOldDates0016</h4>
<pre>public void testOldDates0016()
throws java.lang.Exception</pre>
<div class="block">Test that dates prior to 06/15/1940 0:00:00 are stored and retrieved
correctly.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testBigDecimal1()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testBigDecimal1</h4>
<pre>public void testBigDecimal1()
throws java.lang.Exception</pre>
<div class="block">Test for bug [939206] TdsException: can't sent this BigDecimal</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testFloat1()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testFloat1</h4>
<pre>public void testFloat1()
throws java.lang.Exception</pre>
<div class="block">Test for bug [963799] float values change when written to the database</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testDatetimeRounding1()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testDatetimeRounding1</h4>
<pre>public void testDatetimeRounding1()
throws java.lang.Exception</pre>
<div class="block">Test for bug [983561] getDatetimeValue truncates fractional milliseconds</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testSocketConcurrency1()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testSocketConcurrency1</h4>
<pre>public void testSocketConcurrency1()</pre>
</li>
</ul>
<a name="testSocketConcurrency2()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testSocketConcurrency2</h4>
<pre>public void testSocketConcurrency2()</pre>
</li>
</ul>
<a name="testSocketConcurrency3()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testSocketConcurrency3</h4>
<pre>public void testSocketConcurrency3()</pre>
</li>
</ul>
<a name="testSocketConcurrency4()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testSocketConcurrency4</h4>
<pre>public void testSocketConcurrency4()
throws java.lang.Exception</pre>
<div class="block">Test running SELECT queries on one <code>Statement</code> at the same
time as <code>cancel()</code> is called on a concurrent
<code>Statement</code>.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testNullOutputParameters()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testNullOutputParameters</h4>
<pre>public void testNullOutputParameters()
throws java.sql.SQLException</pre>
<div class="block">Test that <code>null</code> output parameters are handled correctly.
<p/>
It seems that if a non-nullable type is sent as input value and the
output value is NULL, SQL Server (not Sybase) gets confused and returns
the same type but a single 0 byte as value instead of the equivalent
nullable type (e.g. instead of returning an <code>INTN</code> with
length 0, which means it's null, it returns an <code>INT4</code>
followed by a single 0 byte). The output parameter packet length is also
incorrect, which indicates that SQL Server is confused.
<p/>
Currently jTDS always sends RPC parameters as nullable types, but this
test is necessary to ensure that it will always remain so.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="testTableParsing()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testTableParsing</h4>
<pre>public void testTableParsing()
throws java.sql.SQLException</pre>
<div class="block">Test that the SQL parser doesn't try to parse the table name unless
necessary (or that it is able to parse function calls if it does).</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.sql.SQLException</code></dd></dl>
</li>
</ul>
<a name="testFnEscape()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testFnEscape</h4>
<pre>public void testFnEscape()
throws java.lang.Exception</pre>
<div class="block">Test for bug related with [1368058] Calling StoredProcedure with
functions ({fn} escape can't handle special characters, e.g. underscore).</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testNestedFunctions()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testNestedFunctions</h4>
<pre>public void testNestedFunctions()
throws java.lang.Exception</pre>
<div class="block"><p> Regression test for bug #615, the SQL parser doesn't correctly handle
{fn } escapes containing nested (unescaped) functions. </p></div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testFnEscapeNesting()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testFnEscapeNesting</h4>
<pre>public void testFnEscapeNesting()
throws java.lang.Exception</pre>
<div class="block">Test for bug #1116046 {fn } escape can't handle nested functions.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testDataTruncException()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testDataTruncException</h4>
<pre>public void testDataTruncException()
throws java.lang.Exception</pre>
<div class="block">Test <code>DataTruncation</code> exception.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testMaxFieldSize()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testMaxFieldSize</h4>
<pre>public void testMaxFieldSize()
throws java.lang.Exception</pre>
<div class="block">Test <code>Statement.setMaxFieldSize()</code>.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testGetMultiScrollRs()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testGetMultiScrollRs</h4>
<pre>public void testGetMultiScrollRs()
throws java.lang.Exception</pre>
<div class="block">Test return of multiple scrollable result sets from one execute.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testUnterminatedCommentParsing()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testUnterminatedCommentParsing</h4>
<pre>public void testUnterminatedCommentParsing()
throws java.lang.Exception</pre>
<div class="block">Test for bug [1187927] Driver Hangs on Statement.execute().
<p/>
Versions 1.0.3 and prior entered an infinite loop when parsing an
unterminated multi-line comment.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testBytesToString()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testBytesToString</h4>
<pre>public void testBytesToString()
throws java.lang.Exception</pre>
<div class="block">Test that getString() on a varbinary column returns a hex string.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testExecuteUpdateSelect()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>testExecuteUpdateSelect</h4>
<pre>public void testExecuteUpdateSelect()
throws java.lang.Exception</pre>
<div class="block">Tests that <code>executeUpdate("SELECT ...")</code> fails.</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</code></dd></dl>
</li>
</ul>
<a name="testThreadInterrupt()">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>testThreadInterrupt</h4>
<pre>public void testThreadInterrupt()
throws java.lang.Exception</pre>
<div class="block">Test for bug #507, executeQuery absorbs thread interrupt status</div>
<dl><dt><span class="strong">Throws:</span></dt>
<dd><code>java.lang.Exception</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/SAfeTest.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/ResultSetTest.html" title="class in net.sourceforge.jtds.jdbc"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../../net/sourceforge/jtds/jdbc/SanityTest.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/SAfeTest.html" target="_top">Frames</a></li>
<li><a href="SAfeTest.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="#fields_inherited_from_class_net.sourceforge.jtds.jdbc.TestBase">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>Field | </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>
|