File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
src/main/java/org/dfbf/soundlink/domain Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public class Blocklist {
2121 @ Column (name = "blocklist_id" )
2222 private Long blocklistId ;
2323
24- @ ManyToOne (fetch = FetchType .LAZY )
24+ @ ManyToOne /* (fetch = FetchType.LAZY)*/
2525 @ JoinColumn (name = "user_id" )
2626 private User user ;
2727
Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ public class EmotionRecord {
1919 @ Column (name = "record_id" )
2020 private Long recordId ;
2121
22- @ ManyToOne (fetch = FetchType .LAZY )
22+ @ ManyToOne /* (fetch = FetchType.LAZY)*/
2323 @ JoinColumn (name = "user_id" )
2424 private User user ;
2525
2626 @ Enumerated (EnumType .STRING )
2727 @ Column (name = "emotion" )
2828 private Emotions emotion ;
2929
30- @ ManyToOne (fetch = FetchType .LAZY )
30+ @ ManyToOne /* (fetch = FetchType.LAZY)*/
3131 @ JoinColumn (name = "spotify_id" )
3232 private SpotifyMusic spotifyMusic ;
3333
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ public class ProfileMusic {
2121 @ JoinColumn (name = "profile_music_id" )
2222 private Long profileMusicId ;
2323
24- @ ManyToOne (fetch = FetchType .LAZY )
24+ @ ManyToOne /* (fetch = FetchType.LAZY)*/
2525 @ JoinColumn (name = "spotify_id" )
2626 private SpotifyMusic spotifyMusic ;
2727
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ public class User {
2121 @ Column (name = "user_id" )
2222 private Long userId ;
2323
24- @ JsonIgnore
25- @ OneToOne (fetch = FetchType .LAZY , cascade = CascadeType .PERSIST )
24+ /* @JsonIgnore*/
25+ @ OneToOne (/* fetch = FetchType.LAZY, */ cascade = CascadeType .PERSIST )
2626 @ JoinColumn (name = "profile_music_id" )
2727 private ProfileMusic profileMusic ;
2828
You can’t perform that action at this time.
0 commit comments