• 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
Re: Java Packages for Dummies
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Java Packages for Dummies


  • Subject: Re: Java Packages for Dummies
  • From: "Pierce T. Wetter III" <email@hidden>
  • Date: Tue, 4 Dec 2007 16:57:35 -0700


On Dec 4, 2007, at 4:33 PM, Owen McKerrow wrote:

Hi Chuck, Miguel and Art,

Yup I see what your saying. I think the light just switched on, in fact it did Art's email confirmed it.

As all the way through out the old projects we never had a method called setPersonRelationship, just setPerson we dropped the word Relationship from the template. Doh ! Ohh well looks like its time to hunt down all the cases where we did it the old way and change them to use setAttributeNameRelationship instead.

Be aware that if you have a two-way relationship where one side is light, and one side is heavy, i.e.:


   user <--->> transactions

You might want to call transaction.setUser(u) over transaction.setUserRelationship(u), because the relationship call has to fetch all the transactions for a given user because its not smart enough to notice that user->transactions() is a fault, so it can ignore the "add" step for now...

 Pierce



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Java Packages for Dummies
      • From: Mike Schrag <email@hidden>
References: 
 >Java Packages for Dummies (From: Owen McKerrow <email@hidden>)
 >Re: Java Packages for Dummies (From: Chuck Hill <email@hidden>)
 >Re: Java Packages for Dummies (From: Owen McKerrow <email@hidden>)

  • Prev by Date: Re: Java Packages for Dummies
  • Next by Date: Re: OT : Steve Jobs Interviewed about WebObjects
  • Previous by thread: Re: Java Packages for Dummies
  • Next by thread: Re: Java Packages for Dummies
  • Index(es):
    • Date
    • Thread