upgrade spring boot and dependencies, migrate spring boot, add dyndns draft
This commit is contained in:
@@ -5,19 +5,17 @@ package de.bstly.we.partey.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import jakarta.persistence.CollectionTable;
|
||||
import jakarta.persistence.ElementCollection;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.EnumType;
|
||||
import jakarta.persistence.Enumerated;
|
||||
import jakarta.persistence.FetchType;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.Table;
|
||||
|
||||
import org.hibernate.annotations.LazyCollection;
|
||||
import org.hibernate.annotations.LazyCollectionOption;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
/**
|
||||
* The Class ParteyMap.
|
||||
*/
|
||||
@@ -29,8 +27,7 @@ public class ParteyMap {
|
||||
private String id;
|
||||
@Enumerated(EnumType.STRING)
|
||||
private GameRoomPolicyTypes policyType = GameRoomPolicyTypes.MEMBERS_ONLY_POLICY;
|
||||
@ElementCollection
|
||||
@LazyCollection(LazyCollectionOption.FALSE)
|
||||
@ElementCollection(fetch = FetchType.EAGER)
|
||||
@CollectionTable(name = "partey_maps_tags")
|
||||
private List<String> tags = Lists.newArrayList();
|
||||
|
||||
|
||||
@@ -5,20 +5,17 @@ package de.bstly.we.partey.model;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import de.bstly.we.model.UserData;
|
||||
import jakarta.persistence.CollectionTable;
|
||||
import jakarta.persistence.Column;
|
||||
import jakarta.persistence.ElementCollection;
|
||||
import jakarta.persistence.Entity;
|
||||
import jakarta.persistence.FetchType;
|
||||
import jakarta.persistence.Id;
|
||||
import jakarta.persistence.Table;
|
||||
|
||||
import org.hibernate.annotations.LazyCollection;
|
||||
import org.hibernate.annotations.LazyCollectionOption;
|
||||
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
import de.bstly.we.model.UserData;
|
||||
|
||||
/**
|
||||
* The Class ParteyUserTextures.
|
||||
*/
|
||||
@@ -30,8 +27,7 @@ public class ParteyUserTextures implements UserData {
|
||||
private Long target;
|
||||
@Column(name = "username", nullable = false)
|
||||
private String username;
|
||||
@ElementCollection
|
||||
@LazyCollection(LazyCollectionOption.FALSE)
|
||||
@ElementCollection(fetch = FetchType.EAGER)
|
||||
@CollectionTable(name = "partey_user_textures_list")
|
||||
private List<String> textures = Lists.newArrayList();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user