Description
org.talend.components.jdbc.datastream.JDBCOutputProperties wrongly declares the ReferenceProperties referencing its linked dataset :
public ReferenceProperties<JDBCDatasetProperties> dataset = new ReferenceProperties<>("dataset", JDBCOutputDefinition.NAME);
The second argument should be the "@definitionName" of the Dataset (JDBCDatasetDefinition.NAME) so there is an inconsistency.
This inconsistency prevents Daikon to correctly deserialize the properties of the JdbcOutput since ReferenceProperties.resolveReferenceProperties() will fail to find the expected key to resolve the related Dataset properties.
N.B : it would be helpful to find a global solution to prevent developers to do such mistakes in the code. We (always ?) want the reference key to be the same as the @definitionKey of the referenced entity.