Hi everybody,
I'm trying fingerprint SDK Java 2009 in my PC Windows XP, but the function that compares the fingerprint does not work
boolean matched = fingerprintSDK.verify(template, referenceTemplate);
send me the following error message: Unknown error
In template I have fingerprint of the screen, and the referenceTemplate have the fingerprint I got from the database
de code is:
try {
DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());
conexion2 = "jdbc:oracle:thin:user122/passwd122@BASDEV:1521:DGEN";
conexion = DriverManager.getConnection(conexion2);
}catch(SQLException errorConexion){System.out.println("ERROv:"+errorConexion);}
try { transacciones = conexion.createStatement();
String sqlSecu = "SELECT FINGER AS template FROM FOX_KANBAN_FINGER WHERE NUM_EMPLOYEE = '"+numEmp+"'";
rsSecu = transacciones.executeQuery(sqlSecu);
if (rsSecu.next()) {
//Reads the template data from the database.
byte templateBuffer[] = rsSecu.getBytes(1);
Template referenceTemplate = new Template(templateBuffer);
boolean matched = fingerprintSDK.verify(template,referenceTemplate);
the previous line is the problem, anyone kown if this function works?
because this function is the most important and decide the buy
.