1 17 package org.quartz.impl.jdbcjobstore; 18 19 import java.sql.PreparedStatement ; 20 import java.sql.SQLException ; 21 22 import org.apache.commons.logging.Log; 23 24 33 public class DB2v8Delegate extends StdJDBCDelegate { 34 35 public DB2v8Delegate(Log logger, String tablePrefix, String instanceId) { 36 super(logger, tablePrefix, instanceId); 37 } 38 39 public DB2v8Delegate(Log log, String tablePrefix, String instanceId, 40 Boolean useProperties) { 41 super(log, tablePrefix, instanceId, useProperties); 42 } 43 44 48 protected void setBoolean(PreparedStatement ps, int index, boolean val) throws SQLException { 49 ps.setInt(index, ((val) ? 1 : 0)); 50 } 51 } 52 | Popular Tags |