public class OracleDBHelper extends DBHelper
DBHelper
that provides support for Oracle
databases.DBHelper.BioSequenceStyle, DBHelper.DeleteStyle, DBHelper.JoinStyle
BIOSEQUENCE_GENERIC, BIOSEQUENCE_ORACLECLOB, DELETE_GENERIC, DELETE_MYSQL4, DELETE_POSTGRESQL, JOIN_GENERIC, JOIN_ORACLE8
Constructor and Description |
---|
OracleDBHelper(Connection connection)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
String |
clobToString(Connection conn,
ResultSet rs,
int column)
Deprecated.
|
boolean |
containsTable(DataSource ds,
String tablename)
Deprecated.
Detects whether a particular table is present in the database.
|
DBHelper.BioSequenceStyle |
getBioSequenceStyle()
Deprecated.
Returns the an object indicating the style of biosequence storage
that this database should employ.
|
int |
getInsertID(Connection conn,
String table,
String columnName)
Deprecated.
Returns the id value created during the last insert
command.
|
DBHelper.JoinStyle |
getJoinStyle()
Deprecated.
Returns the an object indicating the style of table joining that
this database should employ.
|
void |
stringToClob(Connection conn,
ResultSet rs,
int column,
String value)
Deprecated.
|
getDBHelper, getDeleteStyle
public OracleDBHelper(Connection connection)
public DBHelper.JoinStyle getJoinStyle()
DBHelper
getJoinStyle
in class DBHelper
public int getInsertID(Connection conn, String table, String columnName) throws SQLException
DBHelper
getInsertID
in class DBHelper
SQLException
public boolean containsTable(DataSource ds, String tablename)
DBHelper
containsTable
in class DBHelper
ds
- a DataSource
that can provide a connection to a databasetablename
- the name of the table.public DBHelper.BioSequenceStyle getBioSequenceStyle()
DBHelper
getBioSequenceStyle
in class DBHelper
public String clobToString(Connection conn, ResultSet rs, int column)
public void stringToClob(Connection conn, ResultSet rs, int column, String value)
Copyright © 2014 BioJava. All rights reserved.