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

Win a copy of OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP forum!
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: 44
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: 31419

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]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, 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.
subject: inserting passport image into database