de.oio.sqlrest.db
Class DBConnection

java.lang.Object
  |
  +--de.oio.sqlrest.db.DBConnection

public class DBConnection
extends java.lang.Object

Author:
tbayer To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments

Constructor Summary
DBConnection()
           
 
Method Summary
static java.sql.Connection getInstance()
           
static void init(java.lang.String databaseUrl, java.lang.String database, java.lang.String user, java.lang.String password)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBConnection

public DBConnection()
Method Detail

init

public static void init(java.lang.String databaseUrl,
                        java.lang.String database,
                        java.lang.String user,
                        java.lang.String password)

getInstance

public static java.sql.Connection getInstance()
                                       throws java.sql.SQLException
java.sql.SQLException


Copyright Orientation in Objects GmbH. All Rights Reserved.