2 Replies Latest reply on Jan 15, 2008 12:05 PM by deepa subramaniam (adobe)

    Describe Type Class Metadata Unavailable

    pleyel
      Hi.

      I've been working with Christophe Coenraets excellent ORM introduction which he presented at MAX:
      http://coenraets.org/blog/2007/10/annotating-actionscript-classes-with-custom-metadata-sim ple-orm-framework-for-air/

      Since installing Flex Builder 3 Standalone Version: 3.0.190133 I'm getting a bug however.
      The compiler settings that usually make custom meta data available to the describe type method are only returning the metadata for accessors inside the class, not the metadata declared with the class. For example, the Table metadata below is no longer being returned, although Id and Column are still showing up in the describeType XML. I can of course work around this, but I was wondering if this is a permanent framework policy, or maybe its fixed in a later build ? Anyone heard? Thanks.

      -keep-as3-metadata+="Table,Id,Column"

      [Bindable]
      [Table(name="PAC_TABLE_CONSTITUENTS")]
      public class ConstituentDataVO
      {
      [Id]
      [Column(name="CONSTITUENT_ID")]
      public var constituentId:int;