tim-connector: Add protected default constructor for Hibernate to new entities
Include proper comments warning about not using it directly. FEA: ItEr77S16JiraAndTimConnectorContributionIntegration
This commit is contained in:
parent
5ff02eaae6
commit
dc15df3d2e
3 changed files with 15 additions and 1 deletions
|
|
@ -37,6 +37,12 @@ public class AppProperties extends BaseEntity {
|
|||
private String propertyName;
|
||||
private String propertyValue;
|
||||
|
||||
/**
|
||||
* Constructor for Hibernate. Do not use!
|
||||
*/
|
||||
protected AppProperties() {
|
||||
}
|
||||
|
||||
public String getMajorId() {
|
||||
return majorId;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,6 +32,12 @@ public class JobSchedulerConfiguration extends BaseEntity {
|
|||
return create(new JobSchedulerConfiguration());
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor for Hibernate. Do not use!
|
||||
*/
|
||||
protected JobSchedulerConfiguration() {
|
||||
}
|
||||
|
||||
private String jobGroup;
|
||||
private String jobName;
|
||||
private String triggerGroup;
|
||||
|
|
|
|||
|
|
@ -41,8 +41,10 @@ public class OrderSyncInfo extends BaseEntity {
|
|||
return create(new OrderSyncInfo(order));
|
||||
}
|
||||
|
||||
/**
|
||||
* Constructor for Hibernate. Do not use!
|
||||
*/
|
||||
protected OrderSyncInfo() {
|
||||
|
||||
}
|
||||
|
||||
private OrderSyncInfo(Order order) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue