Package 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:
  • Method Details

    • getJNDIName

      String getJNDIName()
      Gets the JNDI datasource lookup name
      Specified by:
      getJNDIName in interface quadbase.common.util.IJNDIDatabaseInfo
    • getEnvProperties

      Hashtable getEnvProperties()
      Gets environment properties of the initial context
      Specified by:
      getEnvProperties in interface quadbase.common.util.IJNDIDatabaseInfo
    • getQuery

      String getQuery()
      Gets the SQL query
      Specified by:
      getQuery in interface quadbase.common.util.IJNDIDatabaseInfo
    • getConnection

      Connection getConnection()
      Gets the connection object, if one exists
      Specified by:
      getConnection in interface quadbase.common.util.IJNDIDatabaseInfo
    • openConnection

      Connection openConnection() throws Exception
      Gets the connection object to the database
      Specified by:
      openConnection in interface quadbase.common.util.IJNDIDatabaseInfo
      Throws:
      Exception