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
.equalsIgnoreCase( propertyName ) )
			setDesign.setPrivateProperties( newOdaPrivateProperties( setHandle
					.privateDriverPropertiesIterator( ) ) );
		else if ( OdaDataSetHandle.RESULT_SET_NAME_PROP
				.equalsIgnoreCase( propertyName ) )
			setDesign.setPrimaryResultSetName( setHandle.getResultSetName( ) );
		else if ( OdaDataSetHandle.QUERY_TEXT_PROP
				.equalsIgnoreCase( propertyName ) )
			setDesign.setQueryText( setHandle.getQueryText( ) );
		
		else if ( OdaDataSetHandle.DATA_SOURCE_PROP
				.equalsIgnoreCase( propertyName ) )
		{
			OdaDataSourceHandle sourceHandle = (OdaDataSourceHandle) setHandle
					.getDataSource( );
			if ( sourceHandle != null )
				setDesign
						.setDataSourceDesign( createDataSourceDesign( sourceHandle ) );
		}
		else if ( OdaDataSetHandle.PARAMETERS_PROP
				.equalsIgnoreCase( propertyName ) )
		{
			updateDataSetDesignParams( setDesign, setHandle );
		}
		else if ( OdaDataSetHandle.RESULT_SET_PROP
				.equalsIgnoreCase( propertyName ) )
			setDesign.setPrimaryResultSet( new ResultSetsAdapter( )
					.newOdaResultSetDefinition( setHandle ) );
	}
	/**