|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.quartz.impl.jdbcjobstore.StdJDBCDelegate
org.quartz.impl.jdbcjobstore.PointbaseDelegate
This is a driver delegate for the Pointbase JDBC driver.
Field Summary |
Fields inherited from class org.quartz.impl.jdbcjobstore.StdJDBCDelegate |
instanceId, logger, tablePrefix, useProperties |
Constructor Summary | |
PointbaseDelegate(org.apache.commons.logging.Log logger,
java.lang.String tablePrefix,
java.lang.String instanceId)
Create new PointbaseJDBCDelegate instance. |
|
PointbaseDelegate(org.apache.commons.logging.Log logger,
java.lang.String tablePrefix,
java.lang.String instanceId,
java.lang.Boolean useProperties)
Create new PointbaseJDBCDelegate 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 |
Constructor Detail |
public PointbaseDelegate(org.apache.commons.logging.Log logger, java.lang.String tablePrefix, java.lang.String instanceId)
Create new PointbaseJDBCDelegate instance.
logger
- the logger to use during executiontablePrefix
- the prefix of all table namespublic PointbaseDelegate(org.apache.commons.logging.Log logger, java.lang.String tablePrefix, java.lang.String instanceId, java.lang.Boolean useProperties)
Create new PointbaseJDBCDelegate instance.
logger
- the logger to use during executiontablePrefix
- the prefix of all table namesMethod Detail |
public int insertJobDetail(java.sql.Connection conn, JobDetail job) throws java.io.IOException, java.sql.SQLException
Insert the job detail record.
insertJobDetail
in interface DriverDelegate
insertJobDetail
in class StdJDBCDelegate
conn
- the DB Connectionjob
- the job to insert
java.io.IOException
- if there were problems serializing the JobDataMap
java.sql.SQLException
public int updateJobDetail(java.sql.Connection conn, JobDetail job) throws java.io.IOException, java.sql.SQLException
Update the job detail record.
updateJobDetail
in interface DriverDelegate
updateJobDetail
in class StdJDBCDelegate
conn
- the DB Connectionjob
- the job to update
java.io.IOException
- if there were problems serializing the JobDataMap
java.sql.SQLException
public int updateJobData(java.sql.Connection conn, JobDetail job) throws java.io.IOException, java.sql.SQLException
Update the job data map for the given job.
updateJobData
in interface DriverDelegate
updateJobData
in class StdJDBCDelegate
conn
- the DB Connectionjob
- the job to update
java.io.IOException
java.sql.SQLException
public int insertCalendar(java.sql.Connection conn, java.lang.String calendarName, Calendar calendar) throws java.io.IOException, java.sql.SQLException
Insert a new calendar.
insertCalendar
in interface DriverDelegate
insertCalendar
in class StdJDBCDelegate
conn
- the DB ConnectioncalendarName
- the name for the new calendarcalendar
- the calendar
java.io.IOException
- if there were problems serializing the calendar
java.sql.SQLException
public int updateCalendar(java.sql.Connection conn, java.lang.String calendarName, Calendar calendar) throws java.io.IOException, java.sql.SQLException
Update a calendar.
updateCalendar
in interface DriverDelegate
updateCalendar
in class StdJDBCDelegate
conn
- the DB ConnectioncalendarName
- the name for the new calendarcalendar
- the calendar
java.io.IOException
- if there were problems serializing the calendar
java.sql.SQLException
protected java.lang.Object getObjectFromBlob(java.sql.ResultSet rs, java.lang.String colName) throws java.lang.ClassNotFoundException, java.io.IOException, java.sql.SQLException
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 StdJDBCDelegate
rs
- the result set, already queued to the correct rowcolName
- the column name for the BLOB
java.lang.ClassNotFoundException
- if a class found during deserialization cannot be found
java.io.IOException
- if deserialization causes an error
java.sql.SQLException
protected java.lang.Object getJobDetailFromBlob(java.sql.ResultSet rs, java.lang.String colName) throws java.lang.ClassNotFoundException, java.io.IOException, java.sql.SQLException
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 StdJDBCDelegate
rs
- the result set, already queued to the correct rowcolName
- the column name for the BLOB
java.lang.ClassNotFoundException
- if a class found during deserialization cannot be found
java.io.IOException
- if deserialization causes an error
java.sql.SQLException
|
Quartz Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |