Bug 319902 Internal API Usage of the ODA framework components
data/org.eclipse.birt.report.data.oda.jdbc.dbprofile.ui/src/org/eclipse/birt/report/data/oda/jdbc/dbprofile/ui/internal/sqb/SQLQueryUtility.java
DesignSessionUtil.createDataSetNonPublicProperties( dataSetDesign.getOdaExtensionDataSourceId( ),
                        						dataSetDesign.getOdaExtensionDataSetId( ),
                        						props ) );
			}
			catch ( OdaException e )
			{
				return;
			}
		}
		dataSetDesign.getPrivateProperties( )
				.setProperty( PROP_PRIVATE_PARAMETERMETADATA, paramMdPropBuf.toString( ) );
	}
    private static void convertToDataElementAttributes(
            final ValueExpressionVariable var, DataElementAttributes elementAttrs )
    {
        DataType varDataType = var.getDataType();
        elementAttrs.setNativeDataTypeCode( toJDBCTypeCode( varDataType ));
        if( varDataType != null )
        {
            
            if( varDataType instanceof NumericalDataType )
            {
                int precision = ((NumericalDataType) varDataType).getPrecision();
                if( precision > 0 )
                    elementAttrs.setPrecision( precision );
            }
            else if( varDataType instanceof CharacterStringDataType )
            {
                elementAttrs.setPrecision( ((CharacterStringDataType) varDataType).getLength() );
            }