org.openmrs.util
Class DatabaseUtil

java.lang.Object
  extended by org.openmrs.util.DatabaseUtil

public class DatabaseUtil
extends java.lang.Object

Utility class that provides database related methods

Since:
1.6

Constructor Summary
DatabaseUtil()
           
 
Method Summary
static void loadDatabaseDriver(java.lang.String connectionUrl)
          Load the jdbc driver clas for the database which is specified by the connectionUrl parameter

This is only needed when loading up a jdbc connectino manually for the first time.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DatabaseUtil

public DatabaseUtil()
Method Detail

loadDatabaseDriver

public static void loadDatabaseDriver(java.lang.String connectionUrl)
                               throws java.lang.ClassNotFoundException
Load the jdbc driver clas for the database which is specified by the connectionUrl parameter

This is only needed when loading up a jdbc connectino manually for the first time. This is not needed by most users and development practices with the openmrs API.

Parameters:
connectionUrl - the connection url for the database, such as "jdbc:mysql://localhost:3306/..."
Throws:
java.lang.ClassNotFoundException

OpenMRS-1.7.x

Generated Apr 27 2012 10:06 PM. NOTE - these libraries are in active development and subject to change