Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to access a photo in a data base from a frame

 
Mukesh Jain
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sir
can you please tell me how to insert a photo in oracle database from a frame in java and retrive it back
please
Mukesh Jain
 
Lakshmi Kishore
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
can you please explain me a little more.
bye
glkishore
 
Mukesh Jain
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Lakshmi Kishore:
hi,
can you please explain me a little more.
bye
glkishore
]
I mean that how to insert a photo to oracle database and retrive a photo using blob and clob. for example a in student information system we require the photo of the student with other details, which are retrived when required.Hope you understand!
 
Jamie Robertson
Ranch Hand
Posts: 1879
MySQL Database Suse
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
here is the jdbc sample code for LOBS to an Oracle DB(retrieving and inserting)
http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/files/advanced/advanced.htm
look for the link "LOB Datatype"
you might have to hit the Swing forum to find out how to display it nicely on the screen.
Jamie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic