*
* @author kebernet
*/
public class DBTest {
public static void doInsert() {
Database db = Databases.openDatabase("gwittir-windowcontext", "1.0",
"This is the gwittir test db", 512000);
db.run(new TransactionTask() {
public void run(Transaction tx) {
tx.execute("SELECT COUNT(*) FROM Gwittir", null,
new ResultsCallback() {
public void onSuccess(Transaction tx, ResultSet rs) {
Window.alert("Worked!");