Click here to Skip to main content
13,089,943 members (42,367 online)
Rate this:
Please Sign up or sign in to vote.
See more:
try {
String a="1000";
            Connection conn = DriverManager.getConnection("jdbc:mysql://localhost:3306/fpt", "root", "root");
            String select_blob = "select imag_save.img from imag_save inner join registration_stud on registration_stud.fk_f_name=imag_save.f_name where registration_stud.registration_no='" + a + "'";
            ResultSet rs = null;
            java.sql.Statement st = conn.createStatement();
            rs = st.executeQuery(select_blob);
            while ( {
                byte[] bytes = rs.getBytes("img");
                System.out.println("bytes" + bytes);
                DPFPTemplate t = DPFPGlobal.getTemplateFactory().createTemplate();
        } catch (Exception e) {
            System.out.println("exception" + e.getMessage());

Here I Input A register number to select the BLob data From Database.Then It Works Well.But The problem Is how Can i Search The Blob data without Entering Any Inputs(register number).I mean Only fingerprint data is needed to Login No need of register number...
Posted 18-Feb-13 0:10am
Updated 18-Feb-13 3:04am
Manfred R. Bihy 18-Feb-13 9:43am
It is not clear from the short problem description what your goal is in this endeavour.
Please feel free to elaborate a bit on what you are trying to do here.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.170813.1 | Last Updated 18 Feb 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100