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
if( var.getName() != null )
                var.setName( null ); 
        } 
    }
    
    /**
     * Indicates whether the two specified SQL fragments are syntactically equivalent.
     */
    static boolean isEquivalentSQL( String sql1, String sql2 )
    {
        if( sql1 == null || sql2 == null )
        {
            return( sql1 == sql2 );
        }
        
        return ( StatementHelper.compareSQL( sql1, sql2 ) == 0 );
    }
    /**
     * Updates the specified data set design's result set definition based on the
     * specified runtime metadata.
     * @param md    runtime result set metadata instance
     * @param dataSetDesign     data set design instance to update
     * @throws OdaException
     */
    private static void updateResultSetDesign( DataSetDesign dataSetDesign, 
            IResultSetMetaData md, final QueryStatement queryStmt ) 
        throws OdaException
    {