Class DMServer
server

public class DMServer
A work in process. This class is responsible for managing connecting to the database, and providing other utility-like functionality.
note:
The driver should be externalized into config file one day...
See Also:  Node Documentation

Field Summary
private KeyTable
Connection
Connection
Constructor Summary
DMServer()
Constructor to set up the database.
Method Summary
int
getNextKey(String columnName)
Connection
Field Detail
keyTable
private KeyTable keyTable = null

systemConnection
Connection systemConnection = null
label:
sys

userConnection
Connection userConnection = null
label:
user
Constructor Detail
DMServer
public DMServer()
         throws SQLException
Constructor to set up the database. Change the driver name and database name here.
note:
Need to load driver and DB name from property file.
Method Detail
getUserConnection
public Connection getUserConnection()

getNextKey
public int getNextKey(String columnName)
               throws SQLException