• 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
how to set WOLips (veogenerator) parentClassName?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to set WOLips (veogenerator) parentClassName?


  • Subject: how to set WOLips (veogenerator) parentClassName?
  • From: Jonathan 'Wolf' Rentzsch <email@hidden>
  • Date: Fri, 21 Nov 2008 11:45:07 -0600

I'm trying to implement Pierce Wetter's excellent count-of-to-many- destination-without-loading-the-rows idea:

<http://wiki.objectstyle.org/confluence/display/WOL/Count+To-Many+Objects+without+Loading >

I agree it's a better idea to put qualifierForRelationshipWithKey() and countForRelationship() into a common entity superclass, but I can't get WOLips (veogenerator) to play along.

In my framework's .eogen file I've set the following define:

Name            Value
--------------- ---------------
parentClassName JRGenericRecord

(screenshot: http://skitch.com/rentzsch/hj6k/parentclassname)

Based on this page:
<http://wiki.objectstyle.org/confluence/display/WOL/Velocity+Generator+Reference >


and inspecting the code in
</wolips/core/plugins/org.objectstyle.wolips.eomodeler.core/java/org/ objectstyle/wolips/eomodeler/core/model/EOEntity.java>


that seems like that should be enough, but obviously I'm mistaken as it's not working. I've also tried just "parentClass" and adding "parentClassNameSet=true" and "isParentClassNameSet=true". But I'm just flailing now.

I suspect someone has already gotten this working -- can you share the magic incantation?

- jwr

_______________________________________________
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: how to set WOLips (veogenerator) parentClassName?
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: deploy WO 5.3 on OS 10.5
  • Next by Date: Re: how to set WOLips (veogenerator) parentClassName?
  • Previous by thread: Re: Migation failed when updating a table
  • Next by thread: Re: how to set WOLips (veogenerator) parentClassName?
  • Index(es):
    • Date
    • Thread