Class UnknownDBHelper

java.lang.Object
org.biojava.bio.seq.db.biosql.DBHelper
org.biojava.bio.seq.db.biosql.UnknownDBHelper

public class UnknownDBHelper extends DBHelper
Deprecated.
Use hibernate and org.biojavax.bio.db.*
Author:
Thomas Down, Matthew Pocock
  • Constructor Details

  • Method Details

    • getInsertID

      public int getInsertID(Connection conn, String table, String columnName) throws 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:
      SQLException
    • getDeleteStyle

      Deprecated.
      Description copied from class: DBHelper
      Returns the an object indicating the style of deletion that this database should employ. Unless overridden, this is DELETE_GENERIC.
      Overrides:
      getDeleteStyle in class DBHelper
      Returns:
      the preferred deletion style.