QuickTable can be created in just 4 simple java statements! No complex API.
DBTable dBTable1 = new DBTable();
dBTable1.connectDatabase(
"oracle.jdbc.driver.OracleDriver",
"jdbc:oracle:thin:@myServer:1526:myInstance",
"username" ,
"password");
dBTable1.setSelectSql("select * from employee");
dBTable1.refresh();
It is even made more simple, if you have a jdbc resultset. With one statement, you can load the resultset into quicktable.
dBTable1.refresh(yourResultSet);
|