Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding Java Objects to database

For a university assignment I have been assigned I have a Prize object which contains either text, image, or video content. I would like to persist this information into a BLOB field within an Apache Derby database (which will be running on a low powered PDA). How can I add this data to the database?

Thanks in advance.

like image 373
Malachi Avatar asked Sep 12 '26 02:09

Malachi


1 Answers

In this article Five Steps to Managing Unstructured Data with Derby you can read how to do this.

It describes how to insert binary data into a column with the BLOB datatype in Apache Derby using JDBC.

like image 165
Edwin Avatar answered Sep 14 '26 16:09

Edwin