Created
October 21, 2010 17:56
-
-
Save chanwit/638970 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class SQLite { | |
private JavaScriptObject con; | |
private String name; | |
public SQLite(Strig name) { | |
this.name = name; | |
init(); | |
} | |
public native JavaScriptObject execute(String stmt) /* --{ | |
return [email protected]::con.execute(stmt); | |
}-- */; | |
public native void init() /* --{ | |
[email protected]::con = new SQLite([email protected]::name); | |
}-- */; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment