An Open-source Library for replacement of native JDBC protocol , DBJ.jar can easily connect to database with some Method, So user have to give the credentials and the parameter into the function ,DBJ will handle the rest part(Connection, Driver Manager, Prepared Statement, Resultset etc)
APACHE-2.0 License
A JAR file for replacement of native JDBC protocol ,which can connect to database by just calling some Methods, So user just have to give the credentials and the parameter into the function ,DBJ will handle the rest part(Connection, Driver Manager, Prepared Statement, Resultset etc. )
For building and running the application you need:
public static void Connect(String Driver,String Path,String Username,String Password) {
........
}
public static Connection Connect(String Driver,String Username,String Password {
........
return connection;
}
public static void Save(String table_name, String[] parameters, String[] value) {
........
}
public static void Save(Connection con, String table_name, String[] parameters, String[] value) {
........
}
public static ResultSet GetAll(String table){
........
return resultSet;
}
public static ResultSet GetAll(Connection con,String table){
........
return resultSet;
}
public static ResultSet Get(String table,String index,String value){
........
return resultSet;
}
public static ResultSet Get(Connection con,String table,String index,String value){
........
return resultSet;
}
Released under the Apache License 2.0. See the LICENSE file.