Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Commit

Permalink
JUDDI-1015 incomplete fix for certain columns being too long on speci…
Browse files Browse the repository at this point in the history
…fic database vendors (oracle in this case). this has some test failures and query issues due to the column type changes.
  • Loading branch information
spyhunter99 committed Jul 11, 2020
1 parent c8bce39 commit 7d562f9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.JoinColumn;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
Expand Down Expand Up @@ -89,6 +90,7 @@ public void setAccessPointType(String accessPointType) {
this.accessPointType = accessPointType;
}

@Lob
@Column(name = "access_point_url", length = 4096)
public String getAccessPointUrl() {
return this.accessPointUrl;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

Expand Down Expand Up @@ -75,6 +76,7 @@ public void setUseType(String useType) {
this.useType = useType;
}

@Lob
@Column(name = "url", nullable = false, length=4096)
public String getUrl() {
return this.url;
Expand Down
2 changes: 2 additions & 0 deletions juddi-core/src/main/java/org/apache/juddi/model/Email.java
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.Lob;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

Expand Down Expand Up @@ -79,6 +80,7 @@ public void setUseType(String useType) {
this.useType = useType;
}

@Lob
@Column(name = "email_address", nullable = false, length=4096)
public String getEmailAddress() {
return this.emailAddress;
Expand Down

0 comments on commit 7d562f9

Please sign in to comment.