Community
Participate
Working Groups
The existing o.e.d.c.oda.consumer.driverBridge extension point supports an extension implementation to override an ODA data source extension (o.e.d.c.oda.datasource) at runtime. The knowledge of a driverBridge extension has been straightly encapsulated within the runtime execution of the ODA consumer framework, and is not exposed to an ODA design session. However, there are use cases where an ODA designer could use such info, as needed, to support its re-use by a driverBridge extension. This enhancement calls for providing an additional attribute in the oda.design.DataSourceDesign model for the overriding ODA data source extension id, that implements an oda.consumer.driverBridge extension. The value should be set at design time by an ODA host designer, which can obtain the value from the oda.consumer framework.
Delivered enhancement. Latest version is tagged with v201105200848. See Javadoc comments on related new API methods in: * org.eclipse.datatools.connectivity.oda.consumer.helper.DriverExtensionHelper public static String getEffectiveDataSourceId( String odaDataSourceId ) throws OdaException * org.eclipse.datatools.connectivity.oda.design.DataSourceDesign public void setOdaExtensionId( String newOdaExtensionId ) public String getEffectiveOdaExtensionId()
Also added corresponding support in the ODA design session utility to recognize an oda.consumer.propertyProvider extension that may be overridden by a oda.consumer.driverBridge extension. (Tagged with v201105240457.) * org.eclipse.datatools.connectivity.oda.design.ui.designsession.DesignSessionUtil public static java.util.Properties getEffectiveDataSourceProperties( DataSourceDesign dataSourceDesign ) throws OdaException