Bug 157592 Inheritance of Datasource broken
If I create a Report using a datasource of a library first everything seems to be ok. <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="classic" id="4" extends="dSourceAppName.classic"/> After I created a dataset it looks like <oda-data-source extensionID="org.eclipse.birt.report.data.oda.jdbc" name="classic" id="4" extends="dSourceAppName.classic"> <property name="odaDriverClass">com.mysql.jdbc.Driver</property> <property name="odaURL">jdbc:mysql://localhost/classicmodels</property> <property name="odaUser">birt</property> <encrypted-property name="odaPassword">YmlydDAyODYy</encrypted-property> </oda-data-source> It also happens to a library! When I change the library (publish to resource folder) the new datasource isn't used.
model/org.eclipse.birt.report.model.adapter.oda/src/org/eclipse/birt/report/model/adapter/oda/ModelOdaAdapter.java
}
	/**
	 * Adapts the specified Model OdaDataSetHandle to a Data Engine API
	 * DataSetDesign object.
	 * 
	 * @param setHandle
	 *            the Model handle
	 * @return a new <code>DataSetDesign</code>
	 */
	public DataSetDesign createDataSetDesign( OdaDataSetHandle setHandle )
	{
		if ( setHandle == null )
			return null;
		DataSetDesign setDesign = DesignFactory.eINSTANCE.createDataSetDesign( );
		updateDataSetDesign( setHandle, setDesign );
		return setDesign;
	}
	/**
	 * Adapts the Data Engine API DataSetDesign object to the specified Model
	 * OdaDataSetHandle.
	 * 
	 * @param setDesign
	 *            the ODA dataSet design. <b>User should make sure
	 *            <code>setDesign</code> only contains driver-defined
	 *            parameter.It's very important! </b>
	 * @param module
	 *            the module where the Model handle resides.
	 * @return a new <code>OdaDataSourceHandle</code>
	 * @throws SemanticException
	 *             if any value in <code>sourceDesign</code> is invalid