Serializable classes?

2009-12-31
2012-09-29
  • Hi,

    I would like to store sql query objects in my database/file system so that
    they can be reused. Any possibilities of making all classes serializable?
    Right now I am storing a java beanshell that constructs the sqlquery.

     
  • James Ahlborn
    James Ahlborn
    2010-02-02

    Hmm, for some reason i missed this post. sorry for not replying sooner.

    Anyway, there's not any true reason that the classes are not serializable,
    although i haven't gone through all the classes to think the the implications
    of doing this.

    Usually, the queries are constructed programmatically, so reconstructing them
    is a matter of running the same code again. just curious what your larger use
    case is...