aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Serialization Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Serialization Error" Watch "Serialization Error" New topic
Author

Serialization Error

Rahul JG
Ranch Hand

Joined: Jun 05, 2002
Posts: 44
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???


Rahul
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Serialization Error