Codota Logo
PointbaseDelegate.serializeJobData
Code IndexAdd Codota to your IDE (free)

How to use
serializeJobData
method
in
org.quartz.impl.jdbcjobstore.PointbaseDelegate

Best Java code snippets using org.quartz.impl.jdbcjobstore.PointbaseDelegate.serializeJobData (Showing top 20 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Charset c =
  • Codota IconString charsetName;Charset.forName(charsetName)
  • Codota IconCharset.defaultCharset()
  • Codota IconContentType contentType;contentType.getCharset()
  • Smart code suggestions by Codota
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Update the job data map for the given job.
 * </p>
 * 
 * @param conn
 *          the DB Connection
 * @param job
 *          the job to update
 * @return the number of rows updated
 */
@Override           
public int updateJobData(Connection conn, JobDetail job)
  throws IOException, SQLException {
  //log.debug( "Updating Job Data for Job " + job );
  ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
  PreparedStatement ps = null;
  try {
    ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
    ps.setBinaryStream(1, bais, len);
    ps.setString(2, job.getKey().getName());
    ps.setString(3, job.getKey().getGroup());
    return ps.executeUpdate();
  } finally {
    closeStatement(ps);
  }
}
origin: quartz-scheduler/quartz

/**
 * <p>
 * Update the job data map for the given job.
 * </p>
 * 
 * @param conn
 *          the DB Connection
 * @param job
 *          the job to update
 * @return the number of rows updated
 */
@Override           
public int updateJobData(Connection conn, JobDetail job)
  throws IOException, SQLException {
  //log.debug( "Updating Job Data for Job " + job );
  ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
  PreparedStatement ps = null;
  try {
    ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
    ps.setBinaryStream(1, bais, len);
    ps.setString(2, job.getKey().getName());
    ps.setString(3, job.getKey().getGroup());
    return ps.executeUpdate();
  } finally {
    closeStatement(ps);
  }
}
origin: quartz-scheduler/quartz

  JobDetail jobDetail) throws SQLException, IOException {
ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

  JobDetail jobDetail) throws SQLException, IOException {
ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

  JobDetail jobDetail) throws SQLException, IOException {
ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

  JobDetail jobDetail) throws SQLException, IOException {
ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz-scheduler/quartz

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: com.opensymphony.quartz/com.springsource.org.quartz

/**
 * <p>
 * Update the job data map for the given job.
 * </p>
 * 
 * @param conn
 *          the DB Connection
 * @param job
 *          the job to update
 * @return the number of rows updated
 */
public int updateJobData(Connection conn, JobDetail job)
  throws IOException, SQLException {
  //log.debug( "Updating Job Data for Job " + job );
  ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
  PreparedStatement ps = null;
  try {
    ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
    ps.setBinaryStream(1, bais, len);
    ps.setString(2, job.getName());
    ps.setString(3, job.getGroup());
    return ps.executeUpdate();
  } finally {
    closeStatement(ps);
  }
}
origin: quartz/quartz-all

/**
 * <p>
 * Update the job data map for the given job.
 * </p>
 * 
 * @param conn
 *          the DB Connection
 * @param job
 *          the job to update
 * @return the number of rows updated
 */
public int updateJobData(Connection conn, JobDetail job)
  throws IOException, SQLException {
  //log.debug( "Updating Job Data for Job " + job );
  ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
  PreparedStatement ps = null;
  try {
    ps = conn.prepareStatement(rtp(UPDATE_JOB_DATA));
    ps.setBinaryStream(1, bais, len);
    ps.setString(2, job.getName());
    ps.setString(3, job.getGroup());
    return ps.executeUpdate();
  } finally {
    closeStatement(ps);
  }
}
origin: com.opensymphony.quartz/com.springsource.org.quartz

public int insertTrigger(Connection conn, Trigger trigger, String state,
    JobDetail jobDetail) throws SQLException, IOException {
  ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz/quartz-all

public int insertTrigger(Connection conn, Trigger trigger, String state,
    JobDetail jobDetail) throws SQLException, IOException {
  ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz/quartz-all

public int updateTrigger(Connection conn, Trigger trigger, String state,
    JobDetail jobDetail) throws SQLException, IOException {
  ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: com.opensymphony.quartz/com.springsource.org.quartz

public int updateTrigger(Connection conn, Trigger trigger, String state,
    JobDetail jobDetail) throws SQLException, IOException {
  ByteArrayOutputStream baos = serializeJobData(trigger.getJobDataMap());
  int len = baos.toByteArray().length;
  ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: com.opensymphony.quartz/com.springsource.org.quartz

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz/quartz-all

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: quartz/quartz-all

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
origin: com.opensymphony.quartz/com.springsource.org.quartz

throws IOException, SQLException {
ByteArrayOutputStream baos = serializeJobData(job.getJobDataMap());
int len = baos.toByteArray().length;
ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
org.quartz.impl.jdbcjobstorePointbaseDelegateserializeJobData

Popular methods of PointbaseDelegate

  • canUseProperties
  • closeStatement
  • getObjectFromBlob
    This method should be overridden by any delegate subclasses that need special handling for BLOBs. T
  • rtp
  • serializeObject
  • setBoolean
  • deleteJobListeners
  • deleteTriggerListeners
  • findTriggerPersistenceDelegate
  • insertBlobTrigger
  • insertJobListener
  • insertTriggerListener
  • insertJobListener,
  • insertTriggerListener,
  • updateBlobTrigger

Popular in Java

  • Reading from database using SQL prepared statement
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • FileInputStream (java.io)
    A FileInputStream obtains input bytes from a file in a file system. What files are available depends
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • LinkedHashMap (java.util)
    Hash table and linked list implementation of the Map interface, with predictable iteration order. Th
  • Pattern (java.util.regex)
    A compiled representation of a regular expression. A regular expression, specified as a string, must
  • Collectors (java.util.stream)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now