diff --git a/src/main/java/org/gcube/application/geoportal/model/concessioni/LayerConcessione.java b/src/main/java/org/gcube/application/geoportal/model/concessioni/LayerConcessione.java index 168a7d6..d7db55a 100644 --- a/src/main/java/org/gcube/application/geoportal/model/concessioni/LayerConcessione.java +++ b/src/main/java/org/gcube/application/geoportal/model/concessioni/LayerConcessione.java @@ -32,6 +32,7 @@ public class LayerConcessione extends SDILayerDescriptor{ //layer private String layerName; + @Type(type="text") private String WMSLink; diff --git a/src/main/java/org/gcube/application/geoportal/model/content/UploadedImage.java b/src/main/java/org/gcube/application/geoportal/model/content/UploadedImage.java index e13cec7..d67bb79 100644 --- a/src/main/java/org/gcube/application/geoportal/model/content/UploadedImage.java +++ b/src/main/java/org/gcube/application/geoportal/model/content/UploadedImage.java @@ -5,17 +5,13 @@ import java.util.List; import javax.persistence.DiscriminatorValue; import javax.persistence.ElementCollection; import javax.persistence.Entity; -import javax.persistence.JoinColumn; -import javax.persistence.ManyToOne; -import org.gcube.application.geoportal.model.Record; -import org.gcube.application.geoportal.utils.CollectionsUtils; import org.hibernate.annotations.LazyCollection; import org.hibernate.annotations.LazyCollectionOption; +import org.hibernate.annotations.Type; import lombok.Getter; import lombok.Setter; -import lombok.ToString; @Getter @Setter @@ -24,7 +20,7 @@ import lombok.ToString; @DiscriminatorValue("IMAGE") public class UploadedImage extends AssociatedContent { - + @Type(type="text") private String didascalia; private String format;