| Hi Michael, There are two different issues. The one I heard you start asking about is how to select all of the items in a thread. This can be done by selecting all items that match a discussion_id/thread id. The second is how to present them so their relationship to each other is clear. This can be done by making sure that there is a parent_id column that refers to the parent item and returning the parent_id in the selection. I don't see a requirement to perform your selection using parent_id. Bottom line: use a thread_id column to select by; use a parent_id to render showing parent relationship. Craig On Nov 29, 2005, at 9:36 PM, Michael McCutcheon wrote:
Craig Russell Architect, Sun Java Enterprise System http://java.sun.com/products/jdo 408 276-5638 mailto:[EMAIL PROTECTED] P.S. A good JDO? O, Gasp! |
- Re: Recursive Select for Discussion Forum Craig L Russell
- insert timestamp upon insert? Michael McCutcheon
- Re: insert timestamp upon insert? Rajesh Kartha
- Re: insert timestamp upon insert? Mike Matrigali
- Re: insert timestamp upon insert? Satheesh Bandaram
- Re: insert timestamp upon insert? Michael McCutcheon
- Re: Recursive Select for Discussion Forum Oyvind . Bakksjo
- Re: Recursive Select for Discussion Forum Michael Segel
