title: Deserialized Object throws exception of local class incompatible
body: <p>I wanna ask a question..So,I have a block of code like this:</p>
  
  <pre><code>MyOwnObject deserializedObject = null;
  try{
      ByteArrayInputStream bis = new ByteArrayInputStream(serializedObject.getBytes());
      ObjectInputStream ois= new ObjectInputStream(bis);
      deserializedObject = (MyOwnObject)ois.readObject();
      ois.close();
  }catch(Exception e){
      e.printStackTrace();
  }
  
  someMapper.insert(deserializedObject);
  </code></pre>
  
  <p>PS: serializedObject is a string which I get from serialization process before,and it's working well I think.</p>
  
  <p>UPDATED:
  The code throws an exception:</p>
  
  <pre><code>local class incompatible: stream classdesc serialVersionUID = 1360826667802527544, local class serialVersionUID = 1360826667806852920
  </code></pre>
  
  <p>And in the stacktrace there's something about the type Integer of some attribute in my object..Pardon my newbieness.. :|</p>