12357David19 / mdb-sqlite

Automatically exported from code.google.com/p/mdb-sqlite
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Data Type OLE/BINARY not correctly converted #4

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

Try converting a database with an OLE field. You will notice that each
object will just have it's toString() method parsed in the new database.

What is the expected output? What do you see instead?

Expected is a binary file. What we see is the toString() value of the
object. Thus this will be what we find an object reference. More
information can be found on:
http://java.sun.com/javase/6/docs/api/java/lang/Object.html#toString()

What version of the product are you using? On what operating system?

Product version was 1.0.2. System tested was Microsoft Windows 2000. But
this should happen everywhere.

Please provide any additional information below.

A patch is included in the attachment.

Original issue reported on code.google.com by michael....@gmail.com on 3 Sep 2008 at 5:58

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
PREVIOUS PATCH DOES NOT SOLVE THE PROBLEM. It had a .toString() extension 
copied by
mistake. The patch included in this comment should do the job. This was tested 
with a
50 Mb Microsoft Access Database containing about 8000 Binary files. Resulting 
in a 47
Mb SQLite database.

My excuses for the wrong patch.

THIS PATCH SOLVES ISSUE 4 AND ISSUE 5

Original comment by michael....@gmail.com on 4 Sep 2008 at 8:11

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by landon.j.fuller@gmail.com on 25 Sep 2008 at 5:13

GoogleCodeExporter commented 8 years ago
Duplicate of issue #5

Original comment by landon.j.fuller@gmail.com on 15 Dec 2008 at 8:41