package org.cryptonit.cloud;

/**
 * @author Mathias Brossard
 */
public class Database {

    public Database(String url, String user, String password) {
    }
}

@@ -23,16 +23,76 @@
 cloud;%0A%0A
+import java.sql.Connection;%0Aimport java.sql.DriverManager;%0A%0A
 /**%0A * @
@@ -208,16 +208,219 @@
 word) %7B%0A
+        Connection c = null;%0A        try %7B%0A            Class.forName(%22org.postgresql.Driver%22);%0A            c = DriverManager.getConnection(url, user, password);%0A        %7D catch (Exception e) %7B%0A        %7D%0A
     %7D%0A%7D%0A

Load postgresql driver and attempt connection