| 
 | ||||||||||
| 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.SybaseDelegate
public class SybaseDelegate
This is a driver delegate for the Sybase database.
| Field Summary | 
|---|
| Fields inherited from class org.quartz.impl.jdbcjobstore.StdJDBCDelegate | 
|---|
| classLoadHelper, instanceId, logger, schedName, tablePrefix, triggerPersistenceDelegates, useProperties | 
| Constructor Summary | |
|---|---|
| SybaseDelegate() | |
| 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 SybaseDelegate()
| 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[])
setBytes in class StdJDBCDelegateSQLException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||