Skip to content
Snippets Groups Projects

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

Merged George Tziavas requested to merge 5-mysql-reserved-word-as-column-name into develop
1 file
+ 3
1
Compare changes
  • Side-by-side
  • Inline
@@ -2,6 +2,7 @@ package org.etsi.osl.oas.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.persistence.Column;
import org.hibernate.annotations.GenericGenerator;
import org.springframework.validation.annotation.Validated;
@@ -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
@Entity(name = "OASActionCharacteristic")
@@ -33,5 +34,6 @@ public class ActionCharacteristic {
protected String name = null;
@JsonProperty("value")
@Column(name = "\"value\"")
protected String value = null;
}
Loading