mirror of
https://github.com/Sheldan/abstracto.git
synced 2026-04-14 19:56:29 +00:00
[AB-263] adding stricter not null checks to database, disabling updates/inserts for created and updated columns to only rely on triggers
This commit is contained in:
@@ -22,25 +22,25 @@ public class SchedulerJob implements Serializable {
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.IDENTITY)
|
||||
@Column(name = "id")
|
||||
@Column(name = "id", nullable = false)
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* The name of the job
|
||||
*/
|
||||
@Column(name = "name")
|
||||
@Column(name = "name", nullable = false)
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* The group of the job
|
||||
*/
|
||||
@Column(name = "group_name")
|
||||
@Column(name = "group_name", nullable = false)
|
||||
private String groupName;
|
||||
|
||||
/**
|
||||
* The absolute path of a class extending {@link org.springframework.scheduling.quartz.QuartzJobBean} which should be executed by this job
|
||||
*/
|
||||
@Column(name = "clazz")
|
||||
@Column(name = "clazz", nullable = false)
|
||||
private String clazz;
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user