File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Serialization Error

 
Rahul JG
Ranch Hand
Posts: 44
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have deployed an entity bean (Customer) that has a dependent object (Address) which is represented as a ValueObject. When I pass this ValueObject to the create method along with certain other parameters, it works fine. The required data gets inserted into the database. However when I fire the findByPrimaryKey() method, it throws an exception saying that the "InputStream does not contain a serialized object".
The ValueObject (Address) and the primary key class used in the findByPrimaryKey() method are both serialized.
What might be the error???
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic