File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes inserting passport image into database Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Reply locked New topic

inserting passport image into database

Joe Don
Ranch Hand

Joined: Jun 01, 2012
Posts: 47
Hi, i am a beginner in programming and use the netBeans IDE. I have a java form which is sucessfully connected to database. How can user enter passport image into the database? My database is MySQL-oriented. Please, assist me. Thanks.
Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 32820

There is a database type called BLOB. You can use JDBC to insert a BLOB/binary stream of the image.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Wendy Gibbons

Joined: Oct 21, 2008
Posts: 1107

here is a link to your other thread which has the same question.
I agree. Here's the link:
subject: inserting passport image into database
It's not a secret anymore!