I have a class that needs to be serialized.
Example
public class Employee implements Serializable {
   Column column;
   public Column getColumn() {
       return column;
   }
}
When I try to serialize the employee object, I get the exception
java.io.NotSerializableException: net.sf.jsqlparser.schema.Column at java.io.ObjectOutputStream.writeObject0(Unknown Source)
I cannot make Column attribute as transient, because information is required. How do I solve this issue?
 
     
     
     
     
    