Skip to content

northwind with JDBC #1001

@sproket

Description

@sproket

I'm unit testing binary data in a sample database and I want to read the image column from the Categories table from northwind sample db and save it to a file with the latest mssql JDBC driver.

I get the byte array fine but if I write it the image file is invalid. I've read that the format contains an OLE header 78 bytes to remove. I tried that but still the image is not viewable when I save it to a file. I tried saving as JBP and BMP. Neither worked.

Any ideas?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions