After going through a lot of docs, samples, dead links, manuals and other stuff, i finally managed to write java app which reads and updates objects stored in DICOM column. However, still I am not able to upload an image data into database. Code which separates the issue looks like this:
BasicExample3 example = new BasicExample3();
Please do not mind the way ID is generated, in my main application sequence is used for this. Anyway, application output is:
Inserting empty image...
Empty image inserted.
Image is stored externally at ???:/null/null
So my question is: what is wrong with approach above? All I need is to insert a record with locally stored DICOM object into database - so maybe I should use different ORDDicom constructor? Maybe creating empty image and uppdating it with data is not a correct approach?