• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

a Hibernate mapping POJO may be serialized to remote web app?

 
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm using hibernate in Weblogic8.1 Stateless session beans. I have a Hibernate mapping POJO which implemented java.io.serializable interface, at first, this POJO was able to be serialized to remote Web App after initialization. But when this POJO is associated with another Hibernate mapped POJO, I'd receive following exceptions:

java.rmi.UnmarshalException: cannot unmarshaling return; nested exception is:
java.io.InvalidClassException: com.emart.hibernate.Category; local class incompatible: stream classdesc serialVersionUID = -6982780474976627114, local class serialVersionUID = 8550007601317391344

could anyone here help me out?
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic