edu.sc.seis.fissuresUtil.database
Class JDBCTable
java.lang.Object
edu.sc.seis.fissuresUtil.database.JDBCTable
- Direct Known Subclasses:
- JDBCLocation, JDBCParameterRef, JDBCQuantity, JDBCTime, JDBCUnit
public class JDBCTable
- extends java.lang.Object
JDBCTable.java All methods are unsyncronized, the calling application should
make sure that a single instance of this class is not accessed by more than
one thread at a time. Because of the use of prepared statements and a single
connection per instance, this class IS NOT THREAD-SAFE! Created: Fri Jan 26
10:00:16 2001
Field Summary |
protected java.sql.Connection |
conn
|
protected java.lang.String |
tableName
|
Constructor Summary |
JDBCTable(java.lang.String tableName,
java.sql.Connection conn)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
tableName
protected java.lang.String tableName
conn
protected java.sql.Connection conn
JDBCTable
public JDBCTable(java.lang.String tableName,
java.sql.Connection conn)
getTableName
public java.lang.String getTableName()
getConnection
public java.sql.Connection getConnection()