Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
org.etsi.osl.oas
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
OSL
code
org.etsi.osl.oas
Commits
6800725f
Commit
6800725f
authored
1 year ago
by
George Tziavas
Committed by
tranoris
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
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
!7
Merging 2024Q2_RC into main, creating 2024Q2 Release
,
!3
added anotation for the column name in order to avoid mysql syntax errors
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/etsi/osl/oas/model/ActionCharacteristic.java
+3
-1
3 additions, 1 deletion
...ain/java/org/etsi/osl/oas/model/ActionCharacteristic.java
with
3 additions
and
1 deletion
src/main/java/org/etsi/osl/oas/model/ActionCharacteristic.java
+
3
−
1
View file @
6800725f
...
@@ -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 an
a
ction in a rule."
)
@Schema
(
description
=
"An ActionCharacteristic is an entity that describes the values of the characteristics of an
a
ction 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
;
}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment