Thursday, March 31, 2011

Java Adding Image to BLOB datafield

For this university assignment that I have been assigned.

I have to develop an application for use on a PDA which is running J2ME and Apache Derby in embedded mode.

I would like to both import/export an image to the database. How would I do this? Also would storing the image as a blob be suitable?

Thanks in advanced.

From stackoverflow
  • To retrieve and upload your images from the database you will need the Derby JDBC driver. Read the Derby wiki for more info.

    Blob stands for binary large object, and would be good to store an image in.

    JDBC tutoiral

    Using Derby on Java ME platforms wiki page.

    Good Luck.

0 comments:

Post a Comment