response data size 확장(varchar(5000) --> clob)

This commit is contained in:
hsoh
2022-03-11 10:50:23 +09:00
parent e1968a8c07
commit 73ef416fe1
2 changed files with 13 additions and 19 deletions
@@ -8,6 +8,7 @@ import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Index;
import javax.persistence.Lob;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;
import javax.validation.constraints.Digits;
@@ -57,13 +58,15 @@ public class ApiInfo implements Serializable {
@Column(length = 50)
private String syntaxResponseBody1;
@Column(length = 5000)
@Column
@Lob
private String responseBody1;
@Column(length = 50)
private String syntaxResponseBody2;
@Column(length = 5000)
@Column
@Lob
private String responseBody2;
public Long getId() {
@@ -180,21 +183,12 @@ public class ApiInfo implements Serializable {
@Override
public String toString() {
return "ApiInfo{" +
"id=" + id +
", apiGroupName='" + apiGroupName + '\'' +
", apiName='" + apiName + '\'' +
", url='" + url + '\'' +
", serviceValue='" + serviceValue + '\'' +
", method='" + method + '\'' +
", responseContentType='" + responseContentType + '\'' +
", responseHeaders='" + responseHeaders + '\'' +
", responseStatusCode=" + responseStatusCode +
", sleepSeconds=" + sleepSeconds +
", syntaxResponseBody1='" + syntaxResponseBody1 + '\'' +
", responseBody1='" + responseBody1 + '\'' +
", syntaxResponseBody2='" + syntaxResponseBody2 + '\'' +
", responseBody2='" + responseBody2 + '\'' +
'}';
return "ApiInfo{" + "id=" + id + ", apiGroupName='" + apiGroupName + '\'' + ", apiName='" + apiName + '\''
+ ", url='" + url + '\'' + ", serviceValue='" + serviceValue + '\'' + ", method='" + method + '\''
+ ", responseContentType='" + responseContentType + '\'' + ", responseHeaders='" + responseHeaders
+ '\'' + ", responseStatusCode=" + responseStatusCode + ", sleepSeconds=" + sleepSeconds
+ ", syntaxResponseBody1='" + syntaxResponseBody1 + '\'' + ", responseBody1='" + responseBody1 + '\''
+ ", syntaxResponseBody2='" + syntaxResponseBody2 + '\'' + ", responseBody2='" + responseBody2 + '\''
+ '}';
}
}
+1 -1
View File
@@ -22,7 +22,7 @@ spring:
hibernate:
ddl-auto: update
format_sql: true
show-sql: true
show-sql: false
database-platform: org.hibernate.dialect.H2Dialect
h2.console:
enabled: true