Skip to content

Commit

Permalink
updated column names for lookup table row.
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Feb 6, 2015
1 parent 5939e14 commit 862e3ac
Showing 1 changed file with 8 additions and 1 deletion.
Expand Up @@ -14,6 +14,12 @@
* @author Viliam Repan (lazyman)
*/
@Entity
@Table(indexes = {
//todo create indexes after lookup api is created (when we know how we will search through lookup table [lazyman]
// @Index(name = "i_row_key", columnList = "key"),
// @Index(name = "i_row_label_orig", columnList = "label.orig"),
// @Index(name = "i_row_label_norm", columnList = "label.norm")
})
@IdClass(RLookupTableRowId.class)
public class RLookupTableRow {

Expand Down Expand Up @@ -43,7 +49,7 @@ public String getOwnerOid() {
}

@Id
@Column(name = "key")
@Column(name = "row_key")
public String getKey() {
return key;
}
Expand All @@ -68,6 +74,7 @@ public void setLastChangeTimestamp(Timestamp lastChangeTimestamp) {
this.lastChangeTimestamp = lastChangeTimestamp;
}

@Column(name = "row_value")
public String getValue() {
return value;
}
Expand Down

0 comments on commit 862e3ac

Please sign in to comment.