Commit 44445797 authored by Christos Tranoris's avatar Christos Tranoris
Browse files

Merge branch '5-mysql-reserved-word-as-column-name' into 'develop'

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

See merge request !3
parents 1daf0390 6800725f
Loading
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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;

@@ -33,5 +34,6 @@ public class ActionCharacteristic {
	protected String name = null;
	
	@JsonProperty("value")
	@Column(name = "\"value\"")
	protected String value = null;
}