DocumentWrapper made serializable back again.
@@ -23,6 +23,8 @@ import com.orientechnologies.orient.core.annotation.ODocumentInstance;
import com.orientechnologies.orient.core.id.ORID;
import com.orientechnologies.orient.core.record.impl.ODocument;
+import java.io.Serializable;
+
/**
* Base abstract class to wrap a document.
*
@@ -31,7 +33,7 @@ import com.orientechnologies.orient.core.record.impl.ODocument;
*
*/
@SuppressWarnings("unchecked")
-public class ODocumentWrapper {
+public class ODocumentWrapper implements Serializable {
@ODocumentInstance
protected ODocument document;
