add xml type to dmp blueprint entity
This commit is contained in:
parent
f8fa4e519b
commit
b6a85e151d
|
@ -5,7 +5,9 @@ import eu.eudat.commons.enums.IsActive;
|
||||||
import eu.eudat.data.converters.enums.DmpBlueprintStatusConverter;
|
import eu.eudat.data.converters.enums.DmpBlueprintStatusConverter;
|
||||||
import eu.eudat.data.converters.enums.IsActiveConverter;
|
import eu.eudat.data.converters.enums.IsActiveConverter;
|
||||||
import eu.eudat.data.tenant.TenantScopedBaseEntity;
|
import eu.eudat.data.tenant.TenantScopedBaseEntity;
|
||||||
|
import eu.eudat.data.types.SQLXMLType;
|
||||||
import jakarta.persistence.*;
|
import jakarta.persistence.*;
|
||||||
|
import org.hibernate.annotations.Type;
|
||||||
|
|
||||||
import java.time.Instant;
|
import java.time.Instant;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
|
@ -23,7 +25,8 @@ public class DmpBlueprintEntity extends TenantScopedBaseEntity {
|
||||||
public static final String _label = "label";
|
public static final String _label = "label";
|
||||||
public static final int _labelLength = 250;
|
public static final int _labelLength = 250;
|
||||||
|
|
||||||
@Column(name = "definition", nullable = true)
|
@Type(value = SQLXMLType.class)
|
||||||
|
@Column(name = "definition", nullable = true, columnDefinition = "xml")
|
||||||
private String definition;
|
private String definition;
|
||||||
public static final String _definition = "definition";
|
public static final String _definition = "definition";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue