Class DB2v8Delegate

  • All Implemented Interfaces:
    Constants, DriverDelegate, StdJDBCConstants

    public class DB2v8Delegate
    extends StdJDBCDelegate
    Quartz JDBC delegate for DB2 v8 databases.

    This differs from the StdJDBCDelegate in that it stores boolean values in an integer column.

    Author:
    Blair Jensen
    • Constructor Detail

      • DB2v8Delegate

        public DB2v8Delegate()
    • Method Detail

      • setBoolean

        protected void setBoolean​(java.sql.PreparedStatement ps,
                                  int index,
                                  boolean val)
                           throws java.sql.SQLException
        Sets the designated parameter to the given Java boolean value. This translates the boolean to 1/0 for true/false.
        Overrides:
        setBoolean in class StdJDBCDelegate
        Throws:
        java.sql.SQLException