Class OracleDBHelper


  • public class OracleDBHelper
    extends DBHelper
    Deprecated.
    Use hibernate and org.biojavax.bio.db.*
    This is a DBHelper that provides support for Oracle databases.
    Author:
    Len Trigg, Eric Haugen, Richard Holland
    • Method Detail

      • containsTable

        public boolean containsTable​(DataSource ds,
                                     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 database
        tablename - the name of the table.
        Returns:
        true if the table exists in the database.
      • getBioSequenceStyle

        public DBHelper.BioSequenceStyle getBioSequenceStyle()
        Deprecated.
        Description copied from class: DBHelper
        Returns the an object indicating the style of biosequence storage that this database should employ. Generally, leave it at the default unless you are using the Oracle schema, in which case you need to override it to return BIOSEQUENCE_ORACLECLOB. This is because, in the Oracle schema we need to use CLOBs (except when using Len Trigg's version which uses LONGs instead.)
        Overrides:
        getBioSequenceStyle in class DBHelper
        Returns:
        the preferred joining style.