generalDatabase
Class DBTest

java.lang.Object
  extended by generalDatabase.DBTest

public class DBTest
extends java.lang.Object


Field Summary
(package private)  PamCursor pamCursor
           
(package private)  EmptyTableDefinition tableDef
           
 
Constructor Summary
DBTest()
           
 
Method Summary
private  boolean addToAll(java.sql.Connection con, int i)
          Use a scrollable cursor to add i to all records in the table using a scrollable cursor.
static void main(java.lang.String[] args)
           
private  void printTableData(java.sql.Connection con)
          Dump all data in the TestTable with a simple quiery
(package private)  void test()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

tableDef

EmptyTableDefinition tableDef

pamCursor

PamCursor pamCursor
Constructor Detail

DBTest

public DBTest()
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args -

test

void test()

addToAll

private boolean addToAll(java.sql.Connection con,
                         int i)
Use a scrollable cursor to add i to all records in the table using a scrollable cursor.

Parameters:
con -
i -

printTableData

private void printTableData(java.sql.Connection con)
Dump all data in the TestTable with a simple quiery

Parameters:
con -