This is an automated email from the ASF dual-hosted git repository. alexoree pushed a commit to branch bug/JUDDI-1015 in repository https://gitbox.apache.org/repos/asf/juddi.git
commit 7d562f926b974d46b5e0f9e76d774a10ff9dc889 Author: Alex O'Ree <alexo...@apache.org> AuthorDate: Fri Jul 10 21:25:06 2020 -0400 JUDDI-1015 incomplete fix for certain columns being too long on specific database vendors (oracle in this case). this has some test failures and query issues due to the column type changes. --- juddi-core/src/main/java/org/apache/juddi/model/BindingTemplate.java | 2 ++ juddi-core/src/main/java/org/apache/juddi/model/DiscoveryUrl.java | 2 ++ juddi-core/src/main/java/org/apache/juddi/model/Email.java | 2 ++ 3 files changed, 6 insertions(+) diff --git a/juddi-core/src/main/java/org/apache/juddi/model/BindingTemplate.java b/juddi-core/src/main/java/org/apache/juddi/model/BindingTemplate.java index eceb877..41c2cc4 100644 --- a/juddi-core/src/main/java/org/apache/juddi/model/BindingTemplate.java +++ b/juddi-core/src/main/java/org/apache/juddi/model/BindingTemplate.java @@ -23,6 +23,7 @@ import javax.persistence.Column; 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; @@ -89,6 +90,7 @@ public class BindingTemplate extends UddiEntity implements java.io.Serializable this.accessPointType = accessPointType; } + @Lob @Column(name = "access_point_url", length = 4096) public String getAccessPointUrl() { return this.accessPointUrl; diff --git a/juddi-core/src/main/java/org/apache/juddi/model/DiscoveryUrl.java b/juddi-core/src/main/java/org/apache/juddi/model/DiscoveryUrl.java index a95c619..abf5920 100644 --- a/juddi-core/src/main/java/org/apache/juddi/model/DiscoveryUrl.java +++ b/juddi-core/src/main/java/org/apache/juddi/model/DiscoveryUrl.java @@ -22,6 +22,7 @@ import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; +import javax.persistence.Lob; import javax.persistence.ManyToOne; import javax.persistence.Table; @@ -75,6 +76,7 @@ public class DiscoveryUrl implements java.io.Serializable { this.useType = useType; } + @Lob @Column(name = "url", nullable = false, length=4096) public String getUrl() { return this.url; diff --git a/juddi-core/src/main/java/org/apache/juddi/model/Email.java b/juddi-core/src/main/java/org/apache/juddi/model/Email.java index 2bf0d74..c80ccb6 100644 --- a/juddi-core/src/main/java/org/apache/juddi/model/Email.java +++ b/juddi-core/src/main/java/org/apache/juddi/model/Email.java @@ -22,6 +22,7 @@ import javax.persistence.GeneratedValue; import javax.persistence.GenerationType; import javax.persistence.Id; import javax.persistence.JoinColumn; +import javax.persistence.Lob; import javax.persistence.ManyToOne; import javax.persistence.Table; @@ -79,6 +80,7 @@ public class Email implements java.io.Serializable { this.useType = useType; } + @Lob @Column(name = "email_address", nullable = false, length=4096) public String getEmailAddress() { return this.emailAddress; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@juddi.apache.org For additional commands, e-mail: commits-h...@juddi.apache.org