1 Reply Latest reply on Nov 29, 2009 1:01 PM by Prathamesh Gaddam

    Serializable as Datatype?

    Prathamesh Gaddam Novice
      Dear Team,

      Towards Postgres 'bit varying' datatype the seam-gen has generated the code with the datatype as java.io.Serializable, respectively.

      private Serializable status; // member variable for Postgres 'bit varying' datatype

      How to deal with it? Is there anyting I need to implement/code?

      As when default generated code is executed it thrown:

      Caused by: java.io.StreamCorruptedException: invalid stream header: 31313131
           at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783)
           at java.io.ObjectInputStream.<init>(ObjectInputStream.java:280)