Determining the Database Version Within BI Beans

BI Beans supports the use of either of the following databases:

If, for troubleshooting purposes, you need to verify the version of a specific database, you can use the following method of the Connection object (oracle.dss.connection.client.Connection).


public PropertyBag getVersionInfo();

The following constants, which are stored in the class oracle.dss.metadataUtil.Property, can be used to retrieve the database version from the PropertyBag object that is returned by the getVersionInfo method.

Constant Description
DATABASE_VERSION Specifies the version of the database
OLAP_INTERNAL_VERSION Specifies the internal OLAP version of the database