• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
WOEntity's addAttribute throws IllegalArgumentException on EC saveChanges
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

WOEntity's addAttribute throws IllegalArgumentException on EC saveChanges


  • Subject: WOEntity's addAttribute throws IllegalArgumentException on EC saveChanges
  • From: Marek Wawrzyczny <email@hidden>
  • Date: Tue, 22 Jun 2004 11:06:43 +1000

Hi all,

I hope someone shed a bit more light about the potential causes of this exception. Two of our applications have sporadically thrown the following exception when executing EC's saveChanges()

java.lang.IllegalArgumentException: addAttribute: attribute has a different entity

We're not doing anything special here. Just committing a bunch of related records to the data base, and the code works for nearly identical commits 99% of the time.


Marek Wawrzyczny

software engineer
-------------------------->
ish group pty ltd
http://www.ish.com.au
7 Darghan St Glebe 2037 Australia
phone +61 2 9660 1400   fax +61 2 9660 7400
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: refresh an enterprise object
  • Next by Date: Re: Off Topic : WWDC Birds of Feather
  • Previous by thread: Re: Off Topic : WWDC Birds of Feather
  • Next by thread: UTF-8 Encoding questions for formValues() for non WO html fields
  • Index(es):
    • Date
    • Thread