Fixes bug not creating new Data Repository on Dataset Description's tab "External References".
This commit is contained in:
parent
c4994843c8
commit
dac440b140
|
@ -3,7 +3,6 @@ package eu.eudat.data.entities;
|
||||||
|
|
||||||
import eu.eudat.data.entities.helpers.EntityBinder;
|
import eu.eudat.data.entities.helpers.EntityBinder;
|
||||||
import eu.eudat.queryable.queryableentity.DataEntity;
|
import eu.eudat.queryable.queryableentity.DataEntity;
|
||||||
import org.hibernate.annotations.GenericGenerator;
|
|
||||||
import org.hibernate.annotations.Type;
|
import org.hibernate.annotations.Type;
|
||||||
|
|
||||||
import javax.persistence.*;
|
import javax.persistence.*;
|
||||||
|
@ -18,8 +17,6 @@ import java.util.UUID;
|
||||||
public class DataRepository implements Serializable, DataEntity<DataRepository, UUID> {
|
public class DataRepository implements Serializable, DataEntity<DataRepository, UUID> {
|
||||||
|
|
||||||
@Id
|
@Id
|
||||||
@GeneratedValue
|
|
||||||
@GenericGenerator(name = "uuid2", strategy = "uuid2")
|
|
||||||
@Column(name = "\"ID\"", updatable = false, nullable = false, columnDefinition = "BINARY(16)")
|
@Column(name = "\"ID\"", updatable = false, nullable = false, columnDefinition = "BINARY(16)")
|
||||||
private UUID id;
|
private UUID id;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue