• jjc
  • NEWBIE
  • 0 Points
  • Member since 2010

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

I have chatter enabled and running so I assume I'm running the Summer 2010 release, but when I try to create a Set of SObjects I get the error "Set of SObject: Account not allowed."

 

I used the example code from the salesforce_summer10_release_notes.pdf on page 115:

 

Account a1 = new Account(name='MyAccount');

Set<Account> accountSet = new Set<Account>{a1};

 

I did upgrade the Eclipse IDE but I'm guessing I'm not actually using the latest release because when I try to create a new Apex class I can only select version 16.

 

Thanks in advance for any help.

  • June 29, 2010
  • Like
  • 0

I have chatter enabled and running so I assume I'm running the Summer 2010 release, but when I try to create a Set of SObjects I get the error "Set of SObject: Account not allowed."

 

I used the example code from the salesforce_summer10_release_notes.pdf on page 115:

 

Account a1 = new Account(name='MyAccount');

Set<Account> accountSet = new Set<Account>{a1};

 

I did upgrade the Eclipse IDE but I'm guessing I'm not actually using the latest release because when I try to create a new Apex class I can only select version 16.

 

Thanks in advance for any help.

  • June 29, 2010
  • Like
  • 0