public class CallableStatementTest extends TestBase
| Modifier and Type | Field and Description |
|---|---|
private boolean |
SILENT
set to false to enable verbose console output
|
| Constructor and Description |
|---|
CallableStatementTest(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args)
Test that output result sets, return values and output parameters are
correctly handled for a remote procedure call.
|
void |
testBigDecimal()
Test for bug [1236078] Procedure doesn't get called for some BigDecimal
values - invalid bug.
|
void |
testBug637() |
void |
testCallableError1()
Test for bug [991640] java.sql.Date error and RAISERROR problem
|
void |
testCallableRegisterOutParameter1()
Test for bug [974284] retval on callable statement isn't handled correctly
|
void |
testCallableRegisterOutParameter2()
Test for bug [994888] Callable statement and Float output parameter
|
void |
testCallableRegisterOutParameter3()
Test for bug [994988] Network error when null is returned via int output parm
|
void |
testCallableRegisterOutParameter4()
Test for bug [983432] Prepared call doesn't work with jTDS 0.8
|
void |
testCallableRegisterOutParameter5()
Test for bug [946171] null boolean in CallableStatement bug
|
void |
testCallableRegisterOutParameter6()
Test for bug [992715] wasnull() always returns false
|
void |
testCallableSetNull1()
Test for reature request [956800] setNull(): Not implemented.
|
void |
testCallableStatement() |
void |
testCallableStatement1() |
void |
testCallableStatementCall1() |
void |
testCallableStatementCall2() |
void |
testCallableStatementCall3() |
void |
testCallableStatementCall4()
Test for bug [974801] stored procedure error in Northwind
|
void |
testCallableStatementExec1() |
void |
testCallableStatementExec2() |
void |
testCallableStatementExec3() |
void |
testCallableStatementExec4() |
void |
testCallableStatementExec5() |
void |
testCallableStatementExec6() |
void |
testCallableStatementExec7() |
void |
testCallableStatementExec8() |
void |
testCallableStatementExec9()
Test for bug [978175] 0.8: Stored Procedure call doesn't work anymore
|
void |
testCallableStatementParsing1() |
void |
testCallableStatementParsing2()
Test for bug [938632] String index out of bounds error in 0.8rc1.
|
void |
testCallableStatementParsing3()
Test for bug [1006845] Stored procedure with 18 parameters.
|
void |
testCallableStatementParsing4()
Test for incorrect exception thrown/no exception thrown when invalid
call escape is used.
|
void |
testCallableStatementParsing5()
Test for bug [1052942] Error processing JDBC call escape.
|
void |
testCallableStatementParsing6()
Test for incorrect exception thrown/no exception thrown when invalid
call escape is used.
|
void |
testCallableStatementParsing7()
Test for incorrect exception thrown/no exception thrown when invalid
call escape is used.
|
void |
testCallWithResultSet()
Test retrieving multiple resultsets, the return value and an additional
output parameter from a single procedure call.
|
void |
testCommentProcessing()
Test comment processing, bug #634 (and #676).
|
void |
testErrorOutputParams()
Test for bug [1047208] SQLException chaining not implemented correctly:
checks that all errors are returned and that output variables are also
returned.
|
void |
testInOutParameters()
Test for separation of IN and INOUT/OUT parameter values
|
void |
testNamedParameters0001()
Test named parameters.
|
void |
testNamedParameters0002()
Test named parameters.
|
void |
testNonRpcProc1()
Test that procedure calls with both literal parameters and parameterr
markers are executed correctly (bug [1078927] Callable statement fails).
|
void |
testNonRpcProc2()
Test that procedure calls with both literal parameters and parameterr
markers are executed correctly (bug [1078927] Callable statement fails).
|
void |
testProcessUpdateCounts1()
Test that procedure outputs are available immediately for procedures
that do not return ResultSets (i.e that update counts are cached).
|
void |
testProcessUpdateCounts2()
Test that procedure outputs are available immediately after processing
the last ResultSet returned by the procedure (i.e that update counts
are cached).
|
void |
testProcessUpdateCounts3()
Test that procedure outputs are available immediately after processing
the last ResultSet returned by the procedure (i.e that update counts
are cached) even if getMoreResults() is not called.
|
void |
testProcessUpdateCounts4()
Test that procedure outputs are available immediately after processing
the last ResultSet returned by the procedure (i.e that update counts
are cached) even if getMoreResults() and ResultSet.close() are not
called.
|
void |
testSemicolonProcedures()
Test that procedure names containing semicolons are parsed correctly.
|
void |
testTsEscape()
Test for bug [ 1062671 ] SQLParser unable to parse CONVERT(char,{ts ?}
|
void |
testWritetext()
Test for bug [1152329] Spurious output params assigned (TIMESTMP).
|
compareInputStreams, compareReaders, connect, dropDatabase, dropFunction, dropProcedure, dropTable, dropTrigger, dropType, dropView, dump, dump, dumpAll, dumpKeys, dumpRow, dumpRow, getConnection, getConnection, makeObjects, makeTestTables, setUp, tearDownprivate final boolean SILENT
public void testCommentProcessing()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testCallableStatement()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatement1()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementCall1()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementCall2()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementCall3()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementCall4()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementExec1()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementExec2()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementExec3()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementExec4()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementExec5()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementExec6()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementExec7()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementExec8()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementExec9()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementParsing1()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementParsing2()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementParsing3()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableStatementParsing4()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testCallableStatementParsing5()
throws java.lang.Exception
} causes the parser to fail).java.lang.Exceptionpublic void testCallableStatementParsing6()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testCallableStatementParsing7()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testCallableSetNull1()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableRegisterOutParameter1()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableRegisterOutParameter2()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableRegisterOutParameter3()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableRegisterOutParameter4()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableRegisterOutParameter5()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableRegisterOutParameter6()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallableError1()
throws java.lang.Exception
java.lang.Exceptionpublic void testNamedParameters0001()
throws java.lang.Exception
java.lang.Exceptionpublic void testNamedParameters0002()
throws java.lang.Exception
java.lang.Exceptionpublic void testProcessUpdateCounts1()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testProcessUpdateCounts2()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testProcessUpdateCounts3()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testProcessUpdateCounts4()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void testTsEscape()
throws java.lang.Exception
java.lang.Exceptionpublic void testInOutParameters()
throws java.lang.Exception
java.lang.Exceptionpublic void testSemicolonProcedures()
throws java.lang.Exception
java.lang.Exceptionpublic void testNonRpcProc1()
throws java.lang.Exception
java.lang.Exceptionpublic void testNonRpcProc2()
throws java.lang.Exception
java.lang.Exceptionpublic void testWritetext()
throws java.lang.Exception
java.lang.Exceptionpublic void testErrorOutputParams()
throws java.lang.Exception
java.lang.Exceptionpublic void testBigDecimal()
throws java.lang.Exception
java.lang.Exceptionpublic void testCallWithResultSet()
throws java.lang.Exception
java.lang.Exceptionpublic void testBug637()
throws java.lang.Exception
java.lang.Exceptionpublic static void main(java.lang.String[] args)
Generated on June 8 2013