EspressReport 6.6

quadbase.util
Interface IJNDIDatabaseInfo

All Superinterfaces:
quadbase.common.util.IJNDIDatabaseInfo

public interface IJNDIDatabaseInfo
extends quadbase.common.util.IJNDIDatabaseInfo

This interface provides information about the database and query related to a chart. The quadbase.ChartAPI.DBInfo class provides an implementation of this interface.

See Also:
DBInfo

Method Summary
 java.sql.Connection getConnection()
          Gets the connection object, if one exists
 java.util.Hashtable getEnvProperties()
          Gets environment properties of the initial context
 java.lang.String getJNDIName()
          Gets the JNDI datasource lookup name
 java.lang.String getQuery()
          Gets the SQL query
 java.sql.Connection openConnection()
          Gets the connection object to the database
 

Method Detail

getJNDIName

java.lang.String getJNDIName()
Gets the JNDI datasource lookup name

Specified by:
getJNDIName in interface quadbase.common.util.IJNDIDatabaseInfo

getEnvProperties

java.util.Hashtable getEnvProperties()
Gets environment properties of the initial context

Specified by:
getEnvProperties in interface quadbase.common.util.IJNDIDatabaseInfo

getQuery

java.lang.String getQuery()
Gets the SQL query

Specified by:
getQuery in interface quadbase.common.util.IJNDIDatabaseInfo

getConnection

java.sql.Connection getConnection()
Gets the connection object, if one exists

Specified by:
getConnection in interface quadbase.common.util.IJNDIDatabaseInfo

openConnection

java.sql.Connection openConnection()
                                   throws java.lang.Exception
Gets the connection object to the database

Specified by:
openConnection in interface quadbase.common.util.IJNDIDatabaseInfo
Throws:
java.lang.Exception

EspressReport 6.6