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: PostgreSQLDataType: 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.<init>(Ljava.io.InputStream;)V(Unknown Source)
at net.sf.hibernate.util.SerializationHelper$CustomObjectInputStream.<init>(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
**********************************************************************