public class StatementTest extends TestBase
Constructor and Description |
---|
StatementTest(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
void |
testBug473()
Test for bug #473, Statement.setMaxRows() also effects INSERT, UPDATE,
DELETE and SELECT INTO.
|
void |
testBug500()
Test for bug #500, Statement.execute() raises executeQuery() exception if
using cursors (useCursors=true) and SHOWPLAN_ALL is set to ON.
|
void |
testBug528()
Regression test for bug #528, ResultSet not getting populated correctly
with autogenerated keys.
|
void |
testBug544()
Test for bug #544, getMoreResults() does not work with insert triggers.
|
void |
testBug559()
Test for bug #559, unique constraint violation error hidden by an internal
jTDS error.
|
void |
testBug609()
Test for bug #609, slow finalization in
SharedSocket#closeStream()
can block JVM finalizer thread or cause OOM errors. |
void |
testBug635()
Test for bug #635, select from a view with order by clause doesn't work if
correctly if using Statement.setMaxRows().
|
void |
testCloseComputedResult()
Test to ensure that single results generated as result of aggregation
operations (COMPUTE clause) can be closed individually without affecting
remaining
ResultSet s. |
void |
testCloseDeadlock()
Regression test for bug #677, deadlock in
JtdsStatement.close() . |
void |
testComputeClause()
Test for computed results, bug #678.
|
void |
testConcurrentClose() |
void |
testDuplicateKey()
Test for bug #669, no error if violating unique constraint in update.
|
void |
testFullTextSearch()
Test for bug #624, full text search causes connection reset when connected
to Microsoft SQL Server 2008.
|
void |
testMultiLineComment()
Test for #676, error in multi line comment handling.
|
void |
testQueryTimeout()
Test for bug [1694194], queryTimeout does not work on MSSQL2005 when
property 'useCursors' is set to 'true'.
|
compareInputStreams, compareReaders, connect, dropDatabase, dropFunction, dropProcedure, dropTable, dropTrigger, dropType, dropView, dump, dump, dumpAll, dumpKeys, dumpRow, dumpRow, getConnection, getConnection, makeObjects, makeTestTables, setUp, tearDown
public void testBug544() throws java.lang.Exception
java.lang.Exception
public void testBug500() throws java.lang.Exception
java.lang.Exception
public void testBug528() throws java.lang.Exception
java.lang.Exception
public void testBug559() throws java.lang.Exception
java.lang.Exception
public void testBug609() throws java.lang.Exception
SharedSocket#closeStream()
can block JVM finalizer thread or cause OOM errors.java.lang.Exception
public void testBug473() throws java.lang.Exception
java.lang.Exception
public void testBug635() throws java.lang.Exception
java.lang.Exception
public void testFullTextSearch() throws java.lang.Exception
java.lang.Exception
public void testComputeClause() throws java.lang.Exception
java.lang.Exception
public void testCloseComputedResult() throws java.lang.Exception
Test to ensure that single results generated as result of aggregation
operations (COMPUTE clause) can be closed individually without affecting
remaining ResultSet
s.
java.lang.Exception
public void testConcurrentClose() throws java.lang.Exception
java.lang.Exception
public void testCloseDeadlock() throws java.lang.Exception
JtdsStatement.close()
.java.lang.Exception
public void testMultiLineComment() throws java.lang.Exception
java.lang.Exception
public void testDuplicateKey() throws java.lang.Exception
java.lang.Exception
public void testQueryTimeout() throws java.lang.Exception
Test for bug [1694194], queryTimeout does not work on MSSQL2005 when property 'useCursors' is set to 'true'. Furthermore, the test also checks timeout with a query that cannot use a cursor.
This test requires property 'queryTimeout' to be set to true.
java.lang.Exception
Generated on June 8 2013