This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line!
See this thread for details.
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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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
 
Don't get me started about those stupid light bulbs.
 
subject: Serialization Error