I have changed the cell render in JTable to show image instead of text using the following code:
base_table.getColumnModel().getColumn(3).setCel
You should already have all the images in your table model. So you just have to get the images from the model, and then save them in your database.
In your cell renderer you have the type Object value, then you use (ImageIcon) value to cast it to an ImageIcon in lbl.setIcon((ImageIcon) value);
You can do the exaclty the same when you get the data from your model:
ImageIcon myIcon =
(ImageIcon) base_table.getModel().getValueAt(rowIndex, 3);
where 3 is your columnIndex for the column with images, and rowIndex is the row you want.