|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.quartz.impl.jdbcjobstore.StdJDBCDelegate
|
+--org.quartz.impl.jdbcjobstore.oracle.OracleDelegate
This is a driver delegate for the Oracle JDBC driver. To use this delegate,
jdbcDriverVendor should be configured as 'Oracle' with any
jdbcDriverVersion.
| Field Summary | |
static java.lang.String |
INSERT_ORACLE_CALENDAR
|
static java.lang.String |
INSERT_ORACLE_JOB_DETAIL
|
static java.lang.String |
SELECT_ORACLE_CALENDAR_BLOB
|
static java.lang.String |
SELECT_ORACLE_JOB_DETAIL_BLOB
|
static java.lang.String |
UPDATE_ORACLE_CALENDAR_BLOB
|
static java.lang.String |
UPDATE_ORACLE_JOB_DETAIL
|
static java.lang.String |
UPDATE_ORACLE_JOB_DETAIL_BLOB
|
static java.lang.String |
UPDATE_ORACLE_JOB_DETAIL_EMPTY_BLOB
|
| Fields inherited from class org.quartz.impl.jdbcjobstore.StdJDBCDelegate |
instanceId, logger, tablePrefix, useProperties |
| Constructor Summary | |
OracleDelegate(org.apache.commons.logging.Log logger,
java.lang.String tablePrefix,
java.lang.String instanceId)
Create new OrcaleDelegate instance. |
|
OracleDelegate(org.apache.commons.logging.Log logger,
java.lang.String tablePrefix,
java.lang.String instanceId,
java.lang.Boolean useProperties)
Create new OrcaleDelegate instance. |
|
| Method Summary | |
protected java.lang.Object |
getJobDetailFromBlob(java.sql.ResultSet rs,
java.lang.String colName)
This method should be overridden by any delegate subclasses that need special handling for BLOBs for job details. |
protected java.lang.Object |
getObjectFromBlob(java.sql.ResultSet rs,
java.lang.String colName)
This method should be overridden by any delegate subclasses that need special handling for BLOBs. |
int |
insertCalendar(java.sql.Connection conn,
java.lang.String calendarName,
Calendar calendar)
Insert a new calendar. |
int |
insertJobDetail(java.sql.Connection conn,
JobDetail job)
Insert the job detail record. |
int |
updateCalendar(java.sql.Connection conn,
java.lang.String calendarName,
Calendar calendar)
Update a calendar. |
int |
updateJobData(java.sql.Connection conn,
JobDetail job)
Update the job data map for the given job. |
int |
updateJobDetail(java.sql.Connection conn,
JobDetail job)
Update the job detail record. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final java.lang.String INSERT_ORACLE_JOB_DETAIL
public static final java.lang.String UPDATE_ORACLE_JOB_DETAIL
public static final java.lang.String UPDATE_ORACLE_JOB_DETAIL_BLOB
public static final java.lang.String UPDATE_ORACLE_JOB_DETAIL_EMPTY_BLOB
public static final java.lang.String SELECT_ORACLE_JOB_DETAIL_BLOB
public static final java.lang.String INSERT_ORACLE_CALENDAR
public static final java.lang.String SELECT_ORACLE_CALENDAR_BLOB
public static final java.lang.String UPDATE_ORACLE_CALENDAR_BLOB
| Constructor Detail |
public OracleDelegate(org.apache.commons.logging.Log logger,
java.lang.String tablePrefix,
java.lang.String instanceId)
Create new OrcaleDelegate instance.
logger - the logger to use during executiontablePrefix - the prefix of all table names
public OracleDelegate(org.apache.commons.logging.Log logger,
java.lang.String tablePrefix,
java.lang.String instanceId,
java.lang.Boolean useProperties)
Create new OrcaleDelegate instance.
logger - the logger to use during executiontablePrefix - the prefix of all table namesuseProperties - use java.util.Properties for storage| Method Detail |
protected java.lang.Object getObjectFromBlob(java.sql.ResultSet rs,
java.lang.String colName)
throws java.lang.ClassNotFoundException,
java.io.IOException,
java.sql.SQLException
StdJDBCDelegate
This method should be overridden by any delegate subclasses that need
special handling for BLOBs. The default implementation uses standard
JDBC java.sql.Blob operations.
getObjectFromBlob in class StdJDBCDelegateorg.quartz.impl.jdbcjobstore.StdJDBCDelegaters - the result set, already queued to the correct rowcolName - the column name for the BLOBjava.lang.ClassNotFoundException - if a class found during deserialization cannot be foundjava.io.IOException - if deserialization causes an error
public int insertJobDetail(java.sql.Connection conn,
JobDetail job)
throws java.io.IOException,
java.sql.SQLException
StdJDBCDelegateInsert the job detail record.
insertJobDetail in class StdJDBCDelegateorg.quartz.impl.jdbcjobstore.StdJDBCDelegateconn - the DB Connectionjob - the job to insertjava.io.IOException - if there were problems serializing the JobDataMap
protected java.lang.Object getJobDetailFromBlob(java.sql.ResultSet rs,
java.lang.String colName)
throws java.lang.ClassNotFoundException,
java.io.IOException,
java.sql.SQLException
StdJDBCDelegate
This method should be overridden by any delegate subclasses that need
special handling for BLOBs for job details. The default implementation
uses standard JDBC java.sql.Blob operations.
getJobDetailFromBlob in class StdJDBCDelegateorg.quartz.impl.jdbcjobstore.StdJDBCDelegaters - the result set, already queued to the correct rowcolName - the column name for the BLOBjava.lang.ClassNotFoundException - if a class found during deserialization cannot be foundjava.io.IOException - if deserialization causes an error
public int updateJobDetail(java.sql.Connection conn,
JobDetail job)
throws java.io.IOException,
java.sql.SQLException
StdJDBCDelegateUpdate the job detail record.
updateJobDetail in class StdJDBCDelegateorg.quartz.impl.jdbcjobstore.StdJDBCDelegateconn - the DB Connectionjob - the job to updatejava.io.IOException - if there were problems serializing the JobDataMap
public int insertCalendar(java.sql.Connection conn,
java.lang.String calendarName,
Calendar calendar)
throws java.io.IOException,
java.sql.SQLException
StdJDBCDelegateInsert a new calendar.
insertCalendar in class StdJDBCDelegateorg.quartz.impl.jdbcjobstore.StdJDBCDelegateconn - the DB ConnectioncalendarName - the name for the new calendarcalendar - the calendarjava.io.IOException - if there were problems serializing the calendar
public int updateCalendar(java.sql.Connection conn,
java.lang.String calendarName,
Calendar calendar)
throws java.io.IOException,
java.sql.SQLException
StdJDBCDelegateUpdate a calendar.
updateCalendar in class StdJDBCDelegateorg.quartz.impl.jdbcjobstore.StdJDBCDelegateconn - the DB ConnectioncalendarName - the name for the new calendarcalendar - the calendarjava.io.IOException - if there were problems serializing the calendar
public int updateJobData(java.sql.Connection conn,
JobDetail job)
throws java.io.IOException,
java.sql.SQLException
StdJDBCDelegateUpdate the job data map for the given job.
updateJobData in class StdJDBCDelegateorg.quartz.impl.jdbcjobstore.StdJDBCDelegateconn - the DB Connectionjob - the job to update
|
Quartz Project Page | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||