Uploaded image for project: 'appNG'
  1. appNG
  2. APPNG-2255

Create an @Entity for JobExecutionRecord

    XMLWordPrintable

    Details

    • Type: Feature
    • Status: Done
    • Priority: Medium
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 1.20.0
    • Component/s: appng-core
    • Labels:

      Description

      ..and use this instead of plain JDBC in appng-scheduler

      Should look something like

      @Data
      @Entity
      @Table(name = "job_execution_record")
      public class JobExecutionRecord {
      	@Id
      	@GeneratedValue(strategy = GenerationType.IDENTITY)
      	private Integer id;
      	private String site;
      	private String application;
      	@Column(name = "job_name")
      	private String jobName;
      	private String result;
      	@Lob
      	private String stacktraces;
      	@Lob
      	@Column(name = "custom_data")
      	private String customData;
      	private String triggername;
      	private Integer duration;
      	@Column(name = "run_once")
      	private boolean runOnce;
      	@Column(name = "start_time")
      	private Date startTime;
      	@Column(name = "end_time")
      	private Date endTime;
      }

      A repository must also be added.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mueller.matthias Matthias Müller
                Reporter:
                mueller.matthias Matthias Müller
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: