db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tfisc...@apache.org
Subject svn commit: r1377414 - /db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/CompositeMapper.java
Date Sun, 26 Aug 2012 10:48:23 GMT
Author: tfischer
Date: Sun Aug 26 10:48:22 2012
New Revision: 1377414

URL: http://svn.apache.org/viewvc?rev=1377414&view=rev
Log:
fix serialization bug

Modified:
    db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/CompositeMapper.java

Modified: db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/CompositeMapper.java
URL: http://svn.apache.org/viewvc/db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/CompositeMapper.java?rev=1377414&r1=1377413&r2=1377414&view=diff
==============================================================================
--- db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/CompositeMapper.java
(original)
+++ db/torque/torque4/trunk/torque-runtime/src/main/java/org/apache/torque/om/mapper/CompositeMapper.java
Sun Aug 26 10:48:22 2012
@@ -19,6 +19,7 @@ package org.apache.torque.om.mapper;
  * under the License.
  */
 
+import java.io.Serializable;
 import java.sql.ResultSet;
 import java.util.ArrayList;
 import java.util.List;
@@ -77,8 +78,11 @@ public class CompositeMapper implements 
     }
 
     /** Contains a row mapper plus the internal offset of the mapper. */
-    private static class MapperWithOffset
+    private static class MapperWithOffset implements Serializable
     {
+        /** Serial Version UID. */
+        private static final long serialVersionUID = 1L;
+
         /** The row mapper. */
         private final RecordMapper<?> mapper;
 



---------------------------------------------------------------------
To unsubscribe, e-mail: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message