RE: [Hibernate] net.sf.hibernate.type.SerializationException: cou ld not deseriali ze
Oh right. Did not realise I was in developers list. I will move to the users forum. Sorry for yet another spam !!! -Original Message- From: Christian Bauer [mailto:[EMAIL PROTECTED] Sent: 19 October 2005 11:07 To: Ramnish Kalsi Cc: Sameer Nanda; hibernate-devel@lists.sourceforge.net Subject: Re: [Hibernate] net.sf.hibernate.type.SerializationException: cou ld not deseriali ze Ramnish Kalsi wrote: > Sorry, should have been more descriptive... Please continue this discussion here: http://forum.hibernate.org/ ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
RE: [Hibernate] net.sf.hibernate.type.SerializationException: cou ld not deseriali ze
Sorry, should have been more descriptive... The property type is marked as serializable & the database column type is bytea (binary equivalent in PostgreSQL) -thanx. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sameer Nanda Sent: 18 October 2005 18:52 To: hibernate-devel@lists.sourceforge.net Subject: Re: [Hibernate] net.sf.hibernate.type.SerializationException: could not deseriali ze Looks like theres some kind of type mismatch problem (your database column type and your Bean property type) and hence the exception. How are you creating your Hibenate Mappings ??? Are you using any tools? Check your column type in the mapping file with the actual DB column type ... And could you provide more information about what exactly are you trying to do ??? -Sameer On 10/18/05, Ramnish Kalsi <[EMAIL PROTECTED]> wrote: Hi there, Can anyone help with the error in the subject line: Database: PostgreSQL DataType: bytea -> Equivalent of Blob. This is the complete stack trace: net.sf.hibernate.type.SerializationException: could not deserialize at net.sf.hibernate.util.SerializationHelper.deserialize(Ljava.io.InputStream;) Ljava.lang.Object;(SerializationHelper.java:211) at net.sf.hibernate.util.SerializationHelper.deserialize([B)Ljava.lang.Object;( SerializationHelper.java:234) at net.sf.hibernate.type.SerializableType.fromBytes([B)Ljava.lang.Object;(Seria lizableType.java:73) ... Caused by: java.io.StreamCorruptedException: invalid stream header at java.io.ObjectInputStream.readStreamHeader()V(Unknown Source) at java.io.ObjectInputStream.(Ljava.io.InputStream;)V(Unknown Source) at net.sf.hibernate.util.SerializationHelper$CustomObjectInputStream.(Lja va.io.InputStream;)V(SerializationHelper.java:246) at net.sf.hibernate.util.SerializationHelper.deserialize(Ljava.io.InputStream;) Ljava.lang.Object;(SerializationHelper.java:203) Its possible that the issue is with the driver i.e. driver is not converting appropriately. Any clues ?? -thanks, ramnish. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel
[Hibernate] net.sf.hibernate.type.SerializationException: could not deseriali ze
Hi there, Can anyone help with the error in the subject line: Database: PostgreSQL DataType: bytea -> Equivalent of Blob. This is the complete stack trace: net.sf.hibernate.type.SerializationException: could not deserialize at net.sf.hibernate.util.SerializationHelper.deserialize(Ljava.io.InputStream;)Ljava.lang.Object;(SerializationHelper.java:211) at net.sf.hibernate.util.SerializationHelper.deserialize([B)Ljava.lang.Object;(SerializationHelper.java:234) at net.sf.hibernate.type.SerializableType.fromBytes([B)Ljava.lang.Object;(SerializableType.java:73) ... Caused by: java.io.StreamCorruptedException: invalid stream header at java.io.ObjectInputStream.readStreamHeader()V(Unknown Source) at java.io.ObjectInputStream.(Ljava.io.InputStream;)V(Unknown Source) at net.sf.hibernate.util.SerializationHelper$CustomObjectInputStream.(Ljava.io.InputStream;)V(SerializationHelper.java:246) at net.sf.hibernate.util.SerializationHelper.deserialize(Ljava.io.InputStream;)Ljava.lang.Object;(SerializationHelper.java:203) Its possible that the issue is with the driver i.e. driver is not converting appropriately. Any clues ?? -thanks, ramnish. ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **