i used this code in a small demo project. but really whats the different between Jconnection package from shine pattern and the JDBC
package mypackage;
import org.j2os.shine.jconnection.*;
import java.sql.ResultSet;
public class Class1{
public static void main(String[] args) throws Exception {
JDBC mydb = new JDBC();
System.out.println(mydb.login("com.mysql.jdbc.Driver",
"jdbc:mysql://localhost/test", "root", "root", true));
mydb.executeSQLQuery("insert into product (name) values ('test')");
mydb.commit();
//////////////////////////////////////////////////////////////////
mydb.login("com.mysql.jdbc.Driver", "jdbc:mysql://localhost/test",
"root", "root", true);
ResultSet r = mydb.getSQLQueryContent("select * from product");
while (r.next()) {
System.out.println(r.getString("name"));
}
mydb.commit();
}
}