response data size 확장(varchar(5000) --> clob)
This commit is contained in:
@@ -8,6 +8,7 @@ import javax.persistence.GeneratedValue;
|
|||||||
import javax.persistence.GenerationType;
|
import javax.persistence.GenerationType;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
import javax.persistence.Index;
|
import javax.persistence.Index;
|
||||||
|
import javax.persistence.Lob;
|
||||||
import javax.persistence.Table;
|
import javax.persistence.Table;
|
||||||
import javax.persistence.UniqueConstraint;
|
import javax.persistence.UniqueConstraint;
|
||||||
import javax.validation.constraints.Digits;
|
import javax.validation.constraints.Digits;
|
||||||
@@ -57,13 +58,15 @@ public class ApiInfo implements Serializable {
|
|||||||
@Column(length = 50)
|
@Column(length = 50)
|
||||||
private String syntaxResponseBody1;
|
private String syntaxResponseBody1;
|
||||||
|
|
||||||
@Column(length = 5000)
|
@Column
|
||||||
|
@Lob
|
||||||
private String responseBody1;
|
private String responseBody1;
|
||||||
|
|
||||||
@Column(length = 50)
|
@Column(length = 50)
|
||||||
private String syntaxResponseBody2;
|
private String syntaxResponseBody2;
|
||||||
|
|
||||||
@Column(length = 5000)
|
@Column
|
||||||
|
@Lob
|
||||||
private String responseBody2;
|
private String responseBody2;
|
||||||
|
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
@@ -180,21 +183,12 @@ public class ApiInfo implements Serializable {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return "ApiInfo{" +
|
return "ApiInfo{" + "id=" + id + ", apiGroupName='" + apiGroupName + '\'' + ", apiName='" + apiName + '\''
|
||||||
"id=" + id +
|
+ ", url='" + url + '\'' + ", serviceValue='" + serviceValue + '\'' + ", method='" + method + '\''
|
||||||
", apiGroupName='" + apiGroupName + '\'' +
|
+ ", responseContentType='" + responseContentType + '\'' + ", responseHeaders='" + responseHeaders
|
||||||
", apiName='" + apiName + '\'' +
|
+ '\'' + ", responseStatusCode=" + responseStatusCode + ", sleepSeconds=" + sleepSeconds
|
||||||
", url='" + url + '\'' +
|
+ ", syntaxResponseBody1='" + syntaxResponseBody1 + '\'' + ", responseBody1='" + responseBody1 + '\''
|
||||||
", serviceValue='" + serviceValue + '\'' +
|
+ ", syntaxResponseBody2='" + syntaxResponseBody2 + '\'' + ", responseBody2='" + responseBody2 + '\''
|
||||||
", method='" + method + '\'' +
|
+ '}';
|
||||||
", responseContentType='" + responseContentType + '\'' +
|
|
||||||
", responseHeaders='" + responseHeaders + '\'' +
|
|
||||||
", responseStatusCode=" + responseStatusCode +
|
|
||||||
", sleepSeconds=" + sleepSeconds +
|
|
||||||
", syntaxResponseBody1='" + syntaxResponseBody1 + '\'' +
|
|
||||||
", responseBody1='" + responseBody1 + '\'' +
|
|
||||||
", syntaxResponseBody2='" + syntaxResponseBody2 + '\'' +
|
|
||||||
", responseBody2='" + responseBody2 + '\'' +
|
|
||||||
'}';
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ spring:
|
|||||||
hibernate:
|
hibernate:
|
||||||
ddl-auto: update
|
ddl-auto: update
|
||||||
format_sql: true
|
format_sql: true
|
||||||
show-sql: true
|
show-sql: false
|
||||||
database-platform: org.hibernate.dialect.H2Dialect
|
database-platform: org.hibernate.dialect.H2Dialect
|
||||||
h2.console:
|
h2.console:
|
||||||
enabled: true
|
enabled: true
|
||||||
|
|||||||
Reference in New Issue
Block a user