Helpful Information
 
 
Category: Android Development
Android and FireBird

I have a problem connecting to the Firebird libraries using jaybird. I have the code:



package net.sogamobile;


import android.app.Activity;
import javax.sql.*;
import java.sql.*;
import javax.sql.*;
import org.firebirdsql.pool.*;
import java.sql.DriverManager;
import android.database.*;


public class Firebird extends Activity{
public void main() throws Exception {
Class.forName("org.firebirdsql.jdbc.FBDriver");
Connection connection =
DriverManager.getConnection("jdbc:firebirdsql:192.168.3.22:employee",
"SYSDBA", "masterkey");

}
}

But when I compile errors as independent

Could not find class 'org.firebirdsql.jdbc.FBDataSource', referenced from method org.firebirdsql.jdbc.FBDriver.createDataSource










privacy (GDPR)