Implementation of PRePTagDBMS

    This is a subclass of PRePTagCode which implements an ExceptionHandler. With the ExceptionHandler it is possible to keep the handling of any exception more flexible. The connection of the database must be predefined with the DB tag which may be given with the call of the PReP program. The methods specific for the database (e.g. connection() or close()) are provided in another class (SQLServe) and the result is stored in a Store object. The DBMS tag also needs an OUTPUT tag which will format the result and outputs it in a specified matter. For further information please see chapter "The DBMS tag".

    Constructor:

    PRePTagDBMS()
    names the tag with "DBMS" PRePTagDBMS(String strName)
    names the tag with the given string

    Methods:

    compile(Session)
    does the whole database handling and gets the requested fields in a store object

    handleException(Exception exception)
    stores the exception in an exception list

    Related sites:
How the DBMS Tag works
Back PRePTagDBMS()
names the tag with "DBMS" PRePTagDBMS(String strName)
names the tag with the given string :