camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davscl...@apache.org
Subject svn commit: r1055348 - /camel/trunk/components/camel-jpa/src/main/java/org/apache/camel/processor/interceptor/jpa/JpaTraceEventMessage.java
Date Wed, 05 Jan 2011 08:20:27 GMT
Author: davsclaus
Date: Wed Jan  5 08:20:27 2011
New Revision: 1055348

URL: http://svn.apache.org/viewvc?rev=1055348&view=rev
Log:
CAMEL-3488: JpaTraceEventMessage uses @Lob for fields which can contain a lot of data. Thanks
to Marco for patch.

Modified:
    camel/trunk/components/camel-jpa/src/main/java/org/apache/camel/processor/interceptor/jpa/JpaTraceEventMessage.java

Modified: camel/trunk/components/camel-jpa/src/main/java/org/apache/camel/processor/interceptor/jpa/JpaTraceEventMessage.java
URL: http://svn.apache.org/viewvc/camel/trunk/components/camel-jpa/src/main/java/org/apache/camel/processor/interceptor/jpa/JpaTraceEventMessage.java?rev=1055348&r1=1055347&r2=1055348&view=diff
==============================================================================
--- camel/trunk/components/camel-jpa/src/main/java/org/apache/camel/processor/interceptor/jpa/JpaTraceEventMessage.java
(original)
+++ camel/trunk/components/camel-jpa/src/main/java/org/apache/camel/processor/interceptor/jpa/JpaTraceEventMessage.java
Wed Jan  5 08:20:27 2011
@@ -21,6 +21,7 @@ import java.util.Date;
 import javax.persistence.Entity;
 import javax.persistence.GeneratedValue;
 import javax.persistence.Id;
+import javax.persistence.Lob;
 import javax.persistence.Table;
 import javax.persistence.Temporal;
 import javax.persistence.TemporalType;
@@ -126,6 +127,7 @@ public class JpaTraceEventMessage implem
         this.exchangePattern = exchangePattern;
     }
 
+    @Lob
     public String getProperties() {
         return properties;
     }
@@ -134,6 +136,7 @@ public class JpaTraceEventMessage implem
         this.properties = properties;
     }
 
+    @Lob
     public String getHeaders() {
         return headers;
     }
@@ -142,6 +145,7 @@ public class JpaTraceEventMessage implem
         this.headers = headers;
     }
 
+    @Lob
     public String getBody() {
         return body;
     }
@@ -158,6 +162,7 @@ public class JpaTraceEventMessage implem
         this.bodyType = bodyType;
     }
 
+    @Lob
     public String getOutBody() {
         return outBody;
     }
@@ -174,6 +179,7 @@ public class JpaTraceEventMessage implem
         this.outBodyType = outBodyType;
     }
 
+    @Lob
     public String getOutHeaders() {
         return outHeaders;
     }
@@ -182,6 +188,7 @@ public class JpaTraceEventMessage implem
         this.outHeaders = outHeaders;
     }
 
+    @Lob
     public String getCausedByException() {
         return causedByException;
     }



Mime
View raw message