nullable,
This commit is contained in:
parent
14cdf606cd
commit
330ace9e7e
|
@ -17,7 +17,7 @@ public class DiscoveryPort {
|
||||||
private long id;
|
private long id;
|
||||||
|
|
||||||
@ManyToOne
|
@ManyToOne
|
||||||
@JoinColumn
|
@JoinColumn(nullable = false)
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
private DiscoveryHost host;
|
private DiscoveryHost host;
|
||||||
public DiscoveryHost getHost() {
|
public DiscoveryHost getHost() {
|
||||||
|
|
|
@ -21,8 +21,8 @@ public class ServiceScanHistory {
|
||||||
@Temporal(TemporalType.TIMESTAMP)
|
@Temporal(TemporalType.TIMESTAMP)
|
||||||
private Date createDate;
|
private Date createDate;
|
||||||
|
|
||||||
@ManyToOne(fetch = FetchType.LAZY)
|
@ManyToOne
|
||||||
@JoinColumn
|
@JoinColumn(nullable = false)
|
||||||
@JsonIgnore
|
@JsonIgnore
|
||||||
private DiscoveryPort port;
|
private DiscoveryPort port;
|
||||||
|
|
||||||
|
@ -34,8 +34,6 @@ public class ServiceScanHistory {
|
||||||
@Enumerated(EnumType.STRING)
|
@Enumerated(EnumType.STRING)
|
||||||
private DirectionType direction;
|
private DirectionType direction;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@Lob
|
@Lob
|
||||||
@Column(nullable = false)
|
@Column(nullable = false)
|
||||||
private byte[] packet;
|
private byte[] packet;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user