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.init(Ljava.io.InputStream;)V(Unknown Source) at net.sf.hibernate.util.SerializationHelper$CustomObjectInputStream.init(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
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 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
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
[Hibernate] Hibernate tools 3.1 beta 1
The 3.1 beta1 release of the Hibernate Tools for Eclipse and Ant features support for annotations and query parameters in the query console, a reveng.xml editor and many improvements to wizards, templates, and code generators. See the complete list with screenshots for more information. http://www.hibernate.org/hib_docs/tools/eclipse/newandnoteworthy/hibernate-eclipse-news-3.1.0.beta1.html -- -- Max Rydahl Andersen callto://max.rydahl.andersen Hibernate [EMAIL PROTECTED] http://hibernate.org JBoss Inc [EMAIL PROTECTED] http://www.jboss.com/events/jbossworld JBoss World Barcelona 10-12 October --- 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] Interesting separation in rev.eng.
Hi, Just a small mail to let you guys know that I just committed a refactoring of the JDBCBinder (reverse engineering) to be independent of JDBC metadata. What does this mean ? Well, it makes it possible to have database specific metadata reading (oracle can probably be done much more efficiently than via default JDBC metadata etc.) And if someone had the interest they could write a MetaDataDialect that worked purely from a SQL DDL file (just for fun ;) -- -- Max Rydahl Andersen callto://max.rydahl.andersen Hibernate [EMAIL PROTECTED] http://hibernate.org JBoss Inc [EMAIL PROTECTED] http://www.jboss.com/events/jbossworld JBoss World Barcelona 10-12 October --- 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