Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import bhgomes.jaql.*;
- public class MakeDatabase {
- public static void main(String[] args) {
- // Method 1
- Database db1 = JAQL.open("db1", JAQL.SQLITE_DRIVER, "jdbc:sqlite:db1.db");
- db1.info("Built a Database with JAQL convenience class");
- // Method 2
- Database db2 = new Database("db2").open(JAQL.SQLITE_DRIVER, "jdbc:sqlite:db1.db");
- db2.info("Built a Database using the Database JAQL Object");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement