[ https://issues.apache.org/jira/browse/AIRAVATA-2728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16458958#comment-16458958 ]
ASF GitHub Bot commented on AIRAVATA-2728: ------------------------------------------ tilaks26 commented on a change in pull request #191: [AIRAVATA-2728] Refactoring Experiment Catalog Implementation URL: https://github.com/apache/airavata/pull/191#discussion_r185089497 ########## File path: modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/expcatalog/TaskEntity.java ########## @@ -23,28 +23,58 @@ import org.apache.airavata.model.task.TaskTypes; import javax.persistence.*; +import java.io.Serializable; import java.nio.ByteBuffer; +import java.sql.Timestamp; import java.util.List; @Entity -@Table(name = "EXPCAT_TASK") -public class TaskEntity { +@Table(name = "TASK") +public class TaskEntity implements Serializable { + private static final long serialVersionUID = 1L; + + @Id + @Column(name = "TASK_ID") private String taskId; + + @Column(name = "TASK_TYPE") private TaskTypes taskType; + + @Column(name = "PARENT_PROCESS_ID") private String parentProcessId; - private long creationTime; - private long lastUpdateTime; + + @Column(name = "CREATION_TIME") + private Timestamp creationTime; + + @Column(name = "LAST_UPDATE_TIME") + private Timestamp lastUpdateTime; + + @Lob + @Column(name = "TASK_DETAIL") private String taskDetail; - private ByteBuffer subTaskModel; Review comment: There isn't a SUB_TASK_MODEL column in the Task table. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org > Refactoring Experiment Catalog Implementation > --------------------------------------------- > > Key: AIRAVATA-2728 > URL: https://issues.apache.org/jira/browse/AIRAVATA-2728 > Project: Airavata > Issue Type: Improvement > Components: Registry API > Reporter: Sneha Tilak > Assignee: Sneha Tilak > Priority: Major > -- This message was sent by Atlassian JIRA (v7.6.3#76005)