From: Ganesh K. C. <gan...@gm...> - 2009-12-07 17:36:43
|
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. |