Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Andreas Tsagkaropoulos
morphemic-preprocessor
Commits
8e455ba8
Commit
8e455ba8
authored
Apr 01, 2021
by
Mohamed Khalil Labidi
Browse files
Set FetchType to eager for CloudConfiguration properties
parent
1e1fbc45
Changes
1
Hide whitespace changes
Inline
Side-by-side
scheduling-abstraction-layer/src/main/java/org/activeeon/morphemic/model/CloudConfiguration.java
View file @
8e455ba8
...
...
@@ -7,6 +7,7 @@ import lombok.NoArgsConstructor;
import
javax.persistence.Column
;
import
javax.persistence.ElementCollection
;
import
javax.persistence.Embeddable
;
import
javax.persistence.FetchType
;
import
java.io.Serializable
;
import
java.util.Map
;
import
java.util.Objects
;
...
...
@@ -23,7 +24,7 @@ public class CloudConfiguration implements Serializable {
private
String
nodeGroup
=
null
;
@Column
(
name
=
"PROPERTIES"
)
@ElementCollection
(
targetClass
=
String
.
class
)
@ElementCollection
(
targetClass
=
String
.
class
,
fetch
=
FetchType
.
EAGER
)
@JsonProperty
(
"properties"
)
private
Map
<
String
,
String
>
properties
=
null
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment