org.hibernate.hql.ast.tree.DotNode Implements Serializable interface but
when i am trying to serialize it i am getting some exception that
java.io.NotSerializableException:
org.hibernate.hql.ast.HqlSqlWalker
On debugging i found that DotNode class has the reference of HqlSqlWalker
class and this class doesn't implement serializable interface.So the program
is throwing this exception. I think either the reference of HqlSqlWalker
should be declared as transient, or the HqlSqlWalker class itself should
also implement serializable interface to get the benefit of implementing
serializable interface by DotNode Class. Otherwise it is not worth to
implement serializable interface by DotNode class because ultimately we are
not able to serialize it in the current form .
Is it a bug or something else ??
Thanks,
Ganesh
--
Man cannot discover new oceans unless he has the courage to lose sight of
the shore.
--
Man cannot discover new oceans unless he has the courage to lose sight of
the shore.
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
hibernate-devel mailing list
hibernate-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/hibernate-devel