Package com.totsp.gwittir.client.util.html5db

Examples of com.totsp.gwittir.client.util.html5db.Database.run()


*/
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!");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.