Method Summary |
|
public static void | main(String args) |
public void | testBatchUpdates0015() Test batch updates for both plain and prepared statements. |
public void | testBigDecimal0007() Test BigDecimal s created from double values (i.e with very
large scales). |
public void | testBigDecimal1() |
public void | testBitFields0005() Check that values returned from bit fields are correct (not just 0) (bug #841670). |
public void | testBytesToString() Test that getString() on a varbinary column returns a hex string. |
public void | testCallableStatement0006() Test that CallableStatement s with return values work correctly. |
public void | testCallableStatementVarchar0010() Test VARCHAR output parameters returned by CallableStatements.
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. |
public void | testCancel0001() Test cancelling. |
public void | testCancel0002() Test cancelling. |
public void | testCancel0003() Test for bug [1120442] Statement hangs in socket read after
Statement.cancel().
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.
Because it relies on a particular succession of events this test will
not always work as expected, i.e. |
public void | testCursorResultSetConcurrency0003() Test CursorResultSet concurrency. |
public void | testCursorResultSetEmpty0004() Check that meta data information is fetched even for empty cursor-based result sets (bug #613199). |
public void | testDataTruncException() Test DataTruncation exception. |
public void | testDatetimeRounding1() |
public void | testDeleteRow0009() Test ResultSet.deleteRow() on updateable result sets. |
public void | testExecuteUpdateSelect() Tests that executeUpdate("SELECT ...") fails. |
public void | testFloat1() |
public void | testFnEscape() Test for bug related with [1368058] Calling StoredProcedure with
functions ({fn} escape can't handle special characters, e.g. |
public void | testFnEscapeNesting() Test for bug #1116046 {fn } escape can't handle nested functions. |
public void | testGetMultiScrollRs() Test return of multiple scrollable result sets from one execute. |
public void | testInsertRow0012() Test ResultSet.insertRow() on updateable result sets. |
public void | testLongToVarchar0008() Test writing long values to VARCHAR fields. |
public void | testMaxFieldSize() Test Statement.setMaxFieldSize() . |
public void | testNullLengthStrings0001() Test whether NULL values, 0-length strings and single space strings
are treated right. |
public void | testNullOutputParameters() Test that null output parameters are handled correctly.
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. |
public void | testOldDates0016() Test that dates prior to 06/15/1940 0:00:00 are stored and retrieved
correctly. |
public void | testOutOfOrderClose0013() Test how an "out-of-order" close behaves (e.g close the
Connection first, then the Statement anf
finally the ResultSet ). |
public void | testPlainResultSetPosition0004() Check that the isBeforeFirst , isAfterLast ,
isFirst and isLast methods work for
forward-only, read-only result sets (bug [1039876] MS SQL
JtdsResultSet.isAfterLast() always returns false). |
public void | testPreparedAndCallableCursors0014() Test cursor-based ResultSet s obtained from
PreparedStatement s and CallableStatement s. |
public void | testQueryTimeout() Test for bug [1222199] Delayed exception thrown in statement close. |
public void | testSocketConcurrency1() |
public void | testSocketConcurrency2() |
public void | testSocketConcurrency3() |
public void | testSocketConcurrency4() Test running SELECT queries on one Statement at the same
time as cancel() is called on a concurrent
Statement . |
public void | testTableParsing() 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). |
public void | testThreadInterrupt() |
public void | testUnterminatedCommentParsing() Test for bug [1187927] Driver Hangs on Statement.execute(). |
public void | testUpdateRow0011() Test ResultSet.updateRow() on updateable result sets. |