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 Summary
Modifier and TypeMethodDescriptionGets the connection object, if one existsGets environment properties of the initial contextGets the JNDI datasource lookup namegetQuery()Gets the SQL queryGets the connection object to the database
-
Method Details
-
getJNDIName
String getJNDIName()Gets the JNDI datasource lookup name- Specified by:
getJNDINamein interfacequadbase.common.util.IJNDIDatabaseInfo
-
getEnvProperties
Hashtable getEnvProperties()Gets environment properties of the initial context- Specified by:
getEnvPropertiesin interfacequadbase.common.util.IJNDIDatabaseInfo
-
getQuery
String getQuery()Gets the SQL query- Specified by:
getQueryin interfacequadbase.common.util.IJNDIDatabaseInfo
-
getConnection
Connection getConnection()Gets the connection object, if one exists- Specified by:
getConnectionin interfacequadbase.common.util.IJNDIDatabaseInfo
-
openConnection
Gets the connection object to the database- Specified by:
openConnectionin interfacequadbase.common.util.IJNDIDatabaseInfo- Throws:
Exception
-