Class PostgreSQLDBHelper


  • public class PostgreSQLDBHelper
    extends DBHelper
    • Constructor Detail

      • PostgreSQLDBHelper

        public PostgreSQLDBHelper()
    • Method Detail

      • getInsertID

        public int getInsertID​(java.sql.Connection conn,
                               java.lang.String table,
                               java.lang.String columnName)
                        throws java.sql.SQLException
        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
      • getDeleteStyle

        public DBHelper.DeleteStyle getDeleteStyle()
        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.