Skip to content
Snippets Groups Projects
Commit 6800725f authored by George Tziavas's avatar George Tziavas Committed by tranoris
Browse files

added anotation for the column name in order to avoid mysql syntax errors

parent 1daf0390
No related branches found
No related tags found
2 merge requests!7Merging 2024Q2_RC into main, creating 2024Q2 Release,!3added anotation for the column name in order to avoid mysql syntax errors
...@@ -2,6 +2,7 @@ package org.etsi.osl.oas.model; ...@@ -2,6 +2,7 @@ package org.etsi.osl.oas.model;
import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.persistence.Column;
import org.hibernate.annotations.GenericGenerator; import org.hibernate.annotations.GenericGenerator;
import org.springframework.validation.annotation.Validated; import org.springframework.validation.annotation.Validated;
...@@ -16,7 +17,7 @@ import lombok.Data; ...@@ -16,7 +17,7 @@ import lombok.Data;
* *
* *
*/ */
@Schema(description = "An ActionCharacteristic is an entity that describes the values of the characteristics of ana ction in a rule.") @Schema(description = "An ActionCharacteristic is an entity that describes the values of the characteristics of an action in a rule.")
@Validated @Validated
@Entity(name = "OASActionCharacteristic") @Entity(name = "OASActionCharacteristic")
...@@ -33,5 +34,6 @@ public class ActionCharacteristic { ...@@ -33,5 +34,6 @@ public class ActionCharacteristic {
protected String name = null; protected String name = null;
@JsonProperty("value") @JsonProperty("value")
@Column(name = "\"value\"")
protected String value = null; protected String value = null;
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment