|
|||||||||||
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.PostgreSQLDelegate
This is a driver delegate for the PostgreSQL JDBC driver.
Field Summary |
Fields inherited from class org.quartz.impl.jdbcjobstore.StdJDBCDelegate |
instanceId, logger, tablePrefix, useProperties |
Constructor Summary | |
PostgreSQLDelegate(org.apache.commons.logging.Log log,
java.lang.String tablePrefix,
java.lang.String instanceId)
Create new PostgreSQLDelegate instance. |
|
PostgreSQLDelegate(org.apache.commons.logging.Log log,
java.lang.String tablePrefix,
java.lang.String instanceId,
java.lang.Boolean useProperties)
Create new PostgreSQLDelegate 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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PostgreSQLDelegate(org.apache.commons.logging.Log log, java.lang.String tablePrefix, java.lang.String instanceId)
Create new PostgreSQLDelegate instance.
tablePrefix
- the prefix of all table namespublic PostgreSQLDelegate(org.apache.commons.logging.Log log, java.lang.String tablePrefix, java.lang.String instanceId, java.lang.Boolean useProperties)
Create new PostgreSQLDelegate instance.
tablePrefix
- the prefix of all table namesuseProperties
- use java.util.Properties for storageMethod Detail |
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
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 StdJDBCDelegate
rs
- the result set, already queued to the correct rowcolName
- the column name for the BLOB
java.io.IOException
- if deserialization causes an error
java.lang.ClassNotFoundException
- if a class found during deserialization cannot be found
java.sql.SQLException
|
Quartz Project Page | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |