|
||||||||||
| 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.CUBRIDDelegate
public class CUBRIDDelegate
This is a driver delegate for the CUBRID JDBC driver. For Quartz 2.x
Blob handling instructions at http://www.cubrid.org/manual/831/en/Using%20BLOB|CLOB Also at http://www.cubrid.org/wiki_tutorials/entry/working-with-cubrid-blob-clob-data-types
| Field Summary |
|---|
| Fields inherited from class org.quartz.impl.jdbcjobstore.StdJDBCDelegate |
|---|
classLoadHelper, instanceId, logger, schedName, tablePrefix, triggerPersistenceDelegates, useProperties |
| Constructor Summary | |
|---|---|
CUBRIDDelegate()
|
|
| Method Summary | |
|---|---|
protected Object |
getJobDataFromBlob(ResultSet rs,
String colName)
This method should be overridden by any delegate subclasses that need special handling for BLOBs for job details. |
protected Object |
getObjectFromBlob(ResultSet rs,
String colName)
This method should be overridden by any delegate subclasses that need special handling for BLOBs. |
protected void |
setBytes(PreparedStatement ps,
int index,
ByteArrayOutputStream baos)
Sets the designated parameter to the byte array of the given ByteArrayOutputStream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CUBRIDDelegate()
| Method Detail |
|---|
protected Object getObjectFromBlob(ResultSet rs,
String colName)
throws ClassNotFoundException,
IOException,
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 StdJDBCDelegaters - the result set, already queued to the correct rowcolName - the column name for the BLOB
ClassNotFoundException - if a class found during deserialization
cannot be found
IOException - if deserialization causes an error
SQLException
protected Object getJobDataFromBlob(ResultSet rs,
String colName)
throws ClassNotFoundException,
IOException,
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.
getJobDataFromBlob in class StdJDBCDelegaters - the result set, already queued to the correct rowcolName - the column name for the BLOB
ClassNotFoundException - if a class found during deserialization cannot be found
IOException - if deserialization causes an error
SQLException
protected void setBytes(PreparedStatement ps,
int index,
ByteArrayOutputStream baos)
throws SQLException
ByteArrayOutputStream. Will set parameter value to null if
the
ByteArrayOutputStream is null. This just wraps
PreparedStatement.setBytes(int, byte[]) by default,
but it can be overloaded by subclass delegates for databases that don't
explicitly support storing bytes in this way.
setBytes in class StdJDBCDelegateSQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||