This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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???