• 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
Strange behavior when I prefetch to-many relationships
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Strange behavior when I prefetch to-many relationships


  • Subject: Strange behavior when I prefetch to-many relationships
  • From: Dario Bagatto <email@hidden>
  • Date: Wed, 24 Dec 2003 09:30:42 +0100

Hi all,

I have a real problem that drives me nuts with a JavaClient application and WO5.2.1.

I have a model with to entities one is OBJECTS the other PROPERTIES. OBJECTS has a to many relationship to PROPERTIES lets call it OBJ_2_PROP.

With the Java Client application I fetch a bunch of OBJECTS with a simple qualifier on the primary key. I set prefeteching in the fetch specification for the OBJ_2_PROP relationship.

I can see that the fetch for the OBJECTS and the fetch for the corresponding PROPERTIES are issued to the database and the SQL is correct. The returned number of rows is what i expect. So far so good.

Now in a Java client when I fetch a larger number of OBJECTs very often (but without a real pattern) about a third of my PROPERITES are still faults (a normal fault not a deferred fault) although they should be fully initialized after the prefetch.

I experience the same with other entities in my model when I try to prefetch their to many relationships.

Any idea what's wrong here?

I wish you all a merry Christmas.
Dario
--
_______________________________________________
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: Frontbase and CocoaEOApplication, _obtainOpenChannel
  • Next by Date: Re: ImageMagick on OSX?
  • Previous by thread: Re: ImageMagick on OSX?
  • Next by thread: International characters and queries to MySql
  • Index(es):
    • Date
    • Thread