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
* data set parameter definitions and result set definitions.
	 * 
	 * @param setDesign
	 *            the data set desgin
	 * @return the serializable string for design values
	 */
	private String serializeOdaValues( DataSetDesign setDesign )
	{
		DataSetParameters params = setDesign.getParameters( );
		ResultSets resultSets = setDesign.getResultSets( );
		DesignValues values = ModelFactory.eINSTANCE.createDesignValues( );
		values.setVersion( IConstants.DESINGER_VALUES_VERSION );
		boolean hasData = false;
		if ( params != null )
		{
			values.setDataSetParameters( (DataSetParameters) EcoreUtil
					.copy( params ) );
			hasData = true;
		}
		if ( resultSets != null )
		{
			values.setResultSets( (ResultSets) EcoreUtil.copy( resultSets ) );
			hasData = true;
		}
		if ( !hasData )
			return IConstants.EMPTY_STRING;
		try
		{
			return SerializerImpl.instance( ).write( values );
		}