Class DBAccess


public class DBAccess

Insert the type's description here. Creation date: (17.04.2001 21:49:29)

Author:
:

Field Summary
 final static intDBTYPE_MYSQL
           
 final static intDBTYPE_ORACLE
           

Constructor Summary
DBAccess(int dbtype, java.net.InetAddress host, int port, String user, String pass, String dbname)
          DBAccess constructor comment.

Method Summary
 booleanabgelaufen(String heute, String tag, String beginn)
          Überprüft ob das Ereignis bereits abgelaufen ist Creation date: (07.05.2001 21:41:59)
 voiddispose()
          Insert the method's description here.
 EventgetNextEvent()
          Insert the method's description here.
 voidinit(int dbtype, java.net.InetAddress host, int port, String user, String pass, String dbname)
          Insert the method's description here.
 static voidmain(String[] args)
          Insert the method's description here.
 voidtestQuery()
          Insert the method's description here.

Field Detail

DBTYPE_MYSQL

public final static int DBTYPE_MYSQL

DBTYPE_ORACLE

public final static int DBTYPE_ORACLE
Constructor Detail

DBAccess

public DBAccess(int dbtype, java.net.InetAddress host, int port, String user, String pass, String dbname)
throws java.sql.SQLException,
java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
DBAccess constructor comment.
Method Detail

abgelaufen

public boolean abgelaufen(String heute, String tag, String beginn)
Überprüft ob das Ereignis bereits abgelaufen ist Creation date: (07.05.2001 21:41:59)
Parameters:
heute - java.lang.String
tag - java.lang.String
beginn - java.lang.String
Returns: boolean

dispose

public void dispose()
throws java.sql.SQLException
Insert the method's description here. Creation date: (20.04.2001 22:01:09)

getNextEvent

public Event getNextEvent()
throws java.sql.SQLException,
java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
Insert the method's description here. Creation date: (17.04.2001 21:55:59)
Returns: spear.Event

init

public void init(int dbtype, java.net.InetAddress host, int port, String user, String pass, String dbname)
throws java.sql.SQLException,
java.lang.ClassNotFoundException,
java.lang.InstantiationException,
java.lang.IllegalAccessException
Insert the method's description here. Creation date: (20.04.2001 21:40:37)

main

public static void main(String[] args)
Insert the method's description here. Creation date: (20.04.2001 21:46:17)
Parameters:
args - java.lang.String[]

testQuery

public void testQuery()
throws java.sql.SQLException
Insert the method's description here. Creation date: (20.04.2001 22:05:02)

Association Links

to Class java.sql.Connection