I just want to know that how we can "Serialize" the Jdbc4SQLXML class, which is extends java.lang.Object and implements java.sql.SQLXML as per postgres API. Even SQLXML interface is not extending Serializable interface.
Why am doing this is,am trying to get one object from some other JVM that time am getting this exception.
java.io.NotSerializableException: org.postgresql.jdbc4.Jdbc4SQLXML.
Here SQLXML is my return type.
Thanks In Advance.