the problem is when i try to get column except primary key i get this error :
org.hibernate.type.SerializationException: could not deserialize at org.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:217) at org.hibernate.util.SerializationHelper.deserialize(SerializationHelper.java:240) bla...bla...bla... Caused by: java.io.StreamCorruptedException: invalid stream header blablabla...
this is my source code:
any idea to get inboxfrom and inboxto ?
Best Regards,
[Added code tags - Paul Sturrock] [ September 12, 2006: Message edited by: Paul Sturrock ]
actualy, my table contain clob field, and i think that's no sense in this case. But i was wrong. this field has generated as serializable field. I change field mapping to clob, and at Inbox class to java.sql.clob. no error anymore...
Thank's all
Live ordinary life in an extraordinary way. Details embedded in this tiny ad:
a bit of art, as a gift, that will fit in a stocking