1. SerializationException: could not deserialize forum.hibernate.orgHi, I've got an entity class which contains a java.util.UUID. Since my database is MySQL and it does not support the UUID type I have explicitly declared the column definition to be a varchar(36). My code looks like the following: Code: @Entity @Table(name = "my_table") public class MyClass { private UUID uuid; @Column(columnDefinition ... |
2. SerializationException: could not deserialize forum.hibernate.orgI got the following exception (Hibernate 3.5.6): org.hibernate.type.SerializationException: could not deserialize at org.hibernate.util.SerializationHelper.doDeserialize(SerializationHelper.java:262) at org.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:306) .... Caused by: java.io.StreamCorruptedException: invalid stream header: 35353530 at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:783) at java.io.ObjectInputStream. |
3. SerializationException: could not deserialize forum.hibernate.orgI'm very new to Hibernate, so please forgive me if this is an elementary problem (I actually kind of hope it is). I have a table called RES_RESOURCE with 4 records stored in a MySQL database. RES_RESOURCE has 2 foreign keys, RES_INL_CODE, RES_INC_CODE . My XML mapping file for RES_RESOURCE is as follows: |
4. getting SerializationException: could not deserialize forum.hibernate.orgI am getting following error though my IData and other objects are Serializable. Hibernate version: 2.1 Mapping documents: |
5. SerializationException: could not deserialize forum.hibernate.orgHi, I added a unique constraint over two non-key columns and I am getting a nasty error while retrieving from the DB (insert worked ok). I really don't know where to start. I've searched the forums but could not find anything similar. Once I remove the unique constraint, I can read from the DB. thank you, Martn 3.0: Mapping documents: Code: ... |
6. SerializationException could not deserialize forum.hibernate.orgNewbie Joined: Sun Jul 24, 2005 7:01 pm Posts: 3 I don't even know how to start debugging this. Thanks in advance. Hibernate version: 3 Mapping documents: Code: |
7. SerializationException: could not deserialize forum.hibernate.orgBeginner Joined: Thu Apr 20, 2006 11:51 am Posts: 44 Hello this is my validator rule. I verify that the email insert by an user is still present in the database. Code: public static boolean emailPresent (Object bean, ValidatorAction va, Field field, ActionMessages errors, Validator validator, HttpServletRequest request) { ... |