OPENJPA-1690: Make DistinctResultList serializable

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@953165 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Pinaki Poddar 2010-06-09 21:21:02 +00:00
parent 8de998f90b
commit 939f644e77
1 changed files with 2 additions and 1 deletions

View File

@ -18,6 +18,7 @@
*/
package org.apache.openjpa.kernel;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
@ -39,7 +40,7 @@ import org.apache.openjpa.util.RuntimeExceptionTranslator;
* @param <E>
* element type
*/
public class DistinctResultList<E> implements List<E> {
public class DistinctResultList<E> implements List<E>, Serializable {
private final ArrayList<E> _del;
private final RuntimeExceptionTranslator _trans;