I have a question regarding MySQL. I am developing a swing application which has to be able to display list with documents stored in SQL database as BLOB files.I am updating my database with statments similar to this //
insert into materials_inf(name,material,subject,semester,teacher_first_name,teacher_last_name)
values('Physik Prufung',load_file('C:\Users\materials\1.sem_inf\Prufung_Physik'),'physiik','1','Sashka','Aleksandrova');
On the left side there are 8 list itemes. I want to send different queries for every semester when the user clicks on some of the them.
The result should be displayed in the right side. The result itself represents list of pdf and word documents. Is it possible to visualize this files and opening them with MS Word files by double clicking on any of list items in the swing interface? Screnneshot is attached.
http://s1333.photobucket.com/user/_spartacus/media/screen_zps208e5d16.jpg.html
