net.sf.dc.db
Class DatabaseConnection

java.lang.Object
  extended by net.sf.dc.db.DatabaseConnection

public class DatabaseConnection
extends java.lang.Object

Maintains and creates the connection to the database

Since:
1.4
Version:
1.9
Author:
Robert Jan van der Waals

Field Summary
static boolean bConnected
           
static boolean bServerConnection
           
 
Constructor Summary
DatabaseConnection()
           
 
Method Summary
static java.sql.Connection connect()
          Creates the connection to the database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bConnected

public static boolean bConnected

bServerConnection

public static boolean bServerConnection
Constructor Detail

DatabaseConnection

public DatabaseConnection()
Method Detail

connect

public static java.sql.Connection connect()
Creates the connection to the database. It shows the login dialog over and over again until valid data is present to connect to the database