Removing JPA annocations for Id classes
MODIFY
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/AppModuleMappingPK.java
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/AppModuleMappingPK.java
@@ -32,12 +32,7 @@ public class AppModuleMappingPK implements Serializable {
//default serial version id, required for serializable classes.
private static final long serialVersionUID = 1L;
- @Column(name="INTERFACE_ID", insertable=false, updatable=false)
- @Id
private String interfaceId;
-
- @Column(name="MODULE_ID", insertable=false, updatable=false)
- @Id
private String moduleId;
public AppModuleMappingPK() {

MODIFY
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ApplicationInputPK.java
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ApplicationInputPK.java
@@ -32,12 +32,7 @@ public class ApplicationInputPK implements Serializable {
//default serial version id, required for serializable classes.
private static final long serialVersionUID = 1L;
- @Column(name="INTERFACE_ID", insertable=false, updatable=false)
- @Id
private String interfaceId;
-
- @Column(name="INPUT_KEY")
- @Id
private String name;
public ApplicationInputPK() {

MODIFY
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ApplicationOutputPK.java
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ApplicationOutputPK.java
@@ -32,12 +32,7 @@ public class ApplicationOutputPK implements Serializable {
//default serial version id, required for serializable classes.
private static final long serialVersionUID = 1L;
- @Column(name="INTERFACE_ID", insertable=false, updatable=false)
- @Id
private String interfaceId;
-
- @Column(name="OUTPUT_KEY")
- @Id
private String name;
public ApplicationOutputPK() {

MODIFY
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ModuleLoadCmdPK.java
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/ModuleLoadCmdPK.java
@@ -31,12 +31,7 @@ public class ModuleLoadCmdPK implements Serializable {
// default serial version id, required for serializable classes.
private static final long serialVersionUID = 1L;
- @Id
- @Column(name = "APP_DEPLOYMENT_ID", insertable = false, updatable = false)
private String appdeploymentId;
-
- @Id
- @Column(name = "CMD")
private String command;
public ModuleLoadCmdPK() {

MODIFY
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/PostjobCommandPK.java
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/PostjobCommandPK.java
@@ -31,12 +31,7 @@ public class PostjobCommandPK implements Serializable {
// default serial version id, required for serializable classes.
private static final long serialVersionUID = 1L;
- @Column(name = "APPDEPLOYMENT_ID", insertable = false, updatable = false)
- @Id
private String appdeploymentId;
-
- @Column(name = "COMMAND")
- @Id
private String command;
public PostjobCommandPK() {

MODIFY
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/PrejobCommandPK.java
modules/registry-refactoring/src/main/java/org/apache/airavata/registry/core/entities/appcatalog/PrejobCommandPK.java
@@ -32,12 +32,7 @@ public class PrejobCommandPK implements Serializable {
//default serial version id, required for serializable classes.
private static final long serialVersionUID = 1L;
- @Column(name="APPDEPLOYMENT_ID", insertable=false, updatable=false)
- @Id
private String appdeploymentId;
-
- @Column(name="COMMAND")
- @Id
private String command;
public PrejobCommandPK() {

Removing JPA annocations for Id classes