This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes a Hibernate mapping POJO may be serialized to remote web app? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "a Hibernate mapping POJO may be serialized to remote web app?" Watch "a Hibernate mapping POJO may be serialized to remote web app?" New topic
Author

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

Robert Strong
Ranch Hand

Joined: Sep 10, 2002
Posts: 84
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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: a Hibernate mapping POJO may be serialized to remote web app?