package org.drupal.project.computing;

/**
 * Provide support to access a Drupal database.
 */

public class DDatabase {
}

@@ -36,88 +36,676 @@
 g;%0A%0A
-/**%0A * Provide support to access a Drupal database.%0A */%0A%0Apublic class DDatabase %7B
+import java.util.logging.Logger;%0A%0A/**%0A * Connect to Drupal through direct database access. It uses JDBC and Apache Commons DBUtils, so it's independent of%0A * DBMS implementations. Currently we support MySQL and PostgreSQL.%0A *%0A * Due to security reasons, it is not recommended to use this class directly to access Drupal database unless necessary.%0A * Typical reasons to use this class: 1) performance, 2) prototyping. Other than those 2 cases, you should consider%0A * to use %7Bcomputing_record%7D to pass data in/out of Drupal.%0A *%0A * This can be used as standalone class.%0A */%0Apublic class DDatabase %7B%0A    protected Logger logger = DUtils.getInstance().getPackageLogger();%0A%0A%0A
 %0A%7D%0A

add ddatabase.java