Fixes bug not creating new Data Repository on Dataset Description's tab "External References".

This commit is contained in:
gkolokythas 2019-09-25 12:11:02 +03:00
parent c4994843c8
commit dac440b140
1 changed files with 0 additions and 3 deletions

View File

@ -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;