org.biojava.bio.seq.db.biosql
Class HypersonicDBHelper
java.lang.Object
org.biojava.bio.seq.db.biosql.DBHelper
org.biojava.bio.seq.db.biosql.HypersonicDBHelper
Deprecated. Use hibernate and org.biojavax.bio.db.*
public class HypersonicDBHelper
- extends DBHelper
This is a DBHelper
that provides support for the
Hypersonic RDBMS. See the HSQLDB home page
- Author:
- Len Trigg, Richard Holland
Method Summary |
boolean |
containsTable(javax.sql.DataSource ds,
java.lang.String tablename)
Deprecated. Detects whether a particular table is present in the database. |
int |
getInsertID(java.sql.Connection conn,
java.lang.String table,
java.lang.String columnName)
Deprecated. Returns the id value created during the last insert
command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HypersonicDBHelper
public HypersonicDBHelper()
- Deprecated.
getInsertID
public int getInsertID(java.sql.Connection conn,
java.lang.String table,
java.lang.String columnName)
throws java.sql.SQLException
- Deprecated.
- Description copied from class:
DBHelper
- Returns the id value created during the last insert
command. This is for tables that have an auto increment column.
- Specified by:
getInsertID
in class DBHelper
- Returns:
- the last id assigned, or -1 if the id could not be
found.
- Throws:
java.sql.SQLException
containsTable
public boolean containsTable(javax.sql.DataSource ds,
java.lang.String tablename)
- Deprecated.
- Description copied from class:
DBHelper
- Detects whether a particular table is present in the database.
- Overrides:
containsTable
in class DBHelper
- Parameters:
ds
- a DataSource
that can provide a connection to a databasetablename
- the name of the table.
- Returns:
- true if the table exists in the database.