|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--net.sourceforge.jtds.test.TestBase
|
+--net.sourceforge.jtds.test.DatabaseTestCase
|
+--net.sourceforge.jtds.test.ClientSideCursorTest
Test case to illustrate use of Cached cursor result set.
| Fields inherited from class net.sourceforge.jtds.test.DatabaseTestCase |
typemap |
| Fields inherited from class net.sourceforge.jtds.test.TestBase |
con, CONNECTION_PROPERTIES, props |
| Fields inherited from class junit.framework.TestCase |
fName |
| Constructor Summary | |
ClientSideCursorTest(java.lang.String name)
|
|
| Method Summary | |
static void |
main(java.lang.String[] args)
|
void |
testCachedCursor()
General test of scrollable cursor functionality. |
void |
testOptimisticUpdates()
Test optimistic updates throw exception if row is changed on disk. |
void |
testPositionedUpdate()
Test support for JDBC 1 style positioned updates with named cursors. |
void |
testUpdateNoKeys()
Test updateable result set where table is not keyed. |
| Methods inherited from class net.sourceforge.jtds.test.DatabaseTestCase |
compareBytes, dropFunction, dropProcedure, dropProcedure, dropTable, getLongString, getLongString, getType, getTypemap |
| Methods inherited from class net.sourceforge.jtds.test.TestBase |
compareInputStreams, compareReaders, connect, disconnect, dump, dumpRow, getConnection, getConnection, loadProperties, makeObjects, makeTestTables, setUp, tearDown |
| Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format |
| Methods inherited from class java.lang.Object |
|
| Constructor Detail |
public ClientSideCursorTest(java.lang.String name)
| Method Detail |
public void testCachedCursor()
throws java.lang.Exception
public void testPositionedUpdate()
throws java.lang.Exception
public void testOptimisticUpdates()
throws java.lang.Exception
public void testUpdateNoKeys()
throws java.lang.Exception
public static void main(java.lang.String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||