title: Can't pickle <java class 'java.lang.Integer'> in python
body: <p>I'm fetching data from a db with the use of <code>jaydebeapi</code> pkg. I want to serialize the data (it's in list of tuples format) using <code>pickle</code>.</p>
  <p>The data may contain different java class types. For a certain data type (<code>&lt;java class 'java.lang.Integer'&gt;</code>) I get the following error message:</p>
  <pre><code>PicklingError: Can't pickle &lt;java class 'java.lang.Integer'&gt;: it's not found as java.lang.java.lang.Integer
  </code></pre>
  <p>Is there any way to fix this? Or is there any known workaround?</p>
  <p>Thanks a lot!</p>