Skip to content

Commit

Permalink
MCR-3157 fixed uuid column annotation in MCRAccessKey (#2310)
Browse files Browse the repository at this point in the history
* use Integer instead of Long
  • Loading branch information
golsch authored Oct 30, 2024
1 parent da9d6ff commit 2ec4a59
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
public class MCRAccessKey {

/** The unique and internal information id */
private Long id;
private Integer id;

/** The access key information */
private String reference;
Expand Down Expand Up @@ -139,6 +139,7 @@ public MCRObjectID getObjectId() {
* @return the UUID or null
*/
@JsonIgnore
@Column(name = "uuid", nullable = true)
public UUID getUuid() {
return uuid;
}
Expand All @@ -148,7 +149,6 @@ public UUID getUuid() {
*
* @param uuid the uuid to set
*/
@Column(name = "uuid", nullable = false)
public void setUuid(UUID uuid) {
this.uuid = uuid;
}
Expand Down Expand Up @@ -199,14 +199,14 @@ public void setReference(String reference) {
@GeneratedValue(strategy = GenerationType.IDENTITY)
@Column(name = "accesskey_id",
nullable = false)
public Long getId() {
public Integer getId() {
return id;
}

/**
* @param id internal id
*/
public void setId(Long id) {
public void setId(Integer id) {
this.id = id;
}

Expand Down

0 comments on commit 2ec4a59

Please sign in to comment.