Discussion Area

ask questions, discuss topics, solve problems

This is a public Discussion Area  publicRSS

Thread

    • Get ArrayCollection column name
      Thread posted Feb 10 by papalpha58
      486 Views, 0 Comments
      Title:
      Get ArrayCollection column name
      Content:

      I have a class consist of public var variables that correspond to a database table columns.  I have two of these with one class name being for an original table record and the other for an proposed update to the record.   I load these into two ArrayCollections using the source=”{ArrayUtil.toArray(original)}” and source=”{ArrayUtil.toArray(update)}”.  I have displayed the data in datagrids and the data is there.  I then use a function to loop through the elements of the arrays and compare where they have different values using the ObjectUtil.compare utility.  What I need to do next is to try to get the ArrayCollection column name (database table column name) so that I will know where they are different.  Is there a way  to get this column name?

      Code Snippet: