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

Closes #5 (closed)

After adding the column name anotation @Column(name = "\"value\"") the test pass and the column has no change in its name so no problem should arrise in already deployed scenarios.

Screenshot_2024-01-09_at_2.30.45_PM

Screenshot_2024-01-09_at_2.30.57_PM

Screenshot_2024-01-09_at_2.32.21_PM

Edited by George Tziavas

Merge request reports

Loading
+2
Changes for src/main/java/org/etsi/osl/oas/model/ActionCharacteristic.java: 2 added lines, 0 removed lines.
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;
}
Loading