Re: How to pass dynamic attribute values to QueryCustomizer Implementations

2003-12-19 Thread Daniel Perry
I think you are right. I think there are two ways of looking at this. 1. From an OO programing point of view, OJB could be seen solely as a persistance mechanism for objects. Queries should be used for realising a collection of objects or a single object. The single object (or each of the collec

Re: How to pass dynamic attribute values to QueryCustomizer Implementations

2003-12-19 Thread Guido Beutler
; Collection results = broker.getCollectionByQuery(q); Daniel. - Original Message - From: "Lance Eason" <[EMAIL PROTECTED]> To: "OJB Users List" <[EMAIL PROTECTED]> Sent: Friday, December 19, 2003 4:49 PM Subject: RE: How to pass dynamic attribute values to QueryCustomizer Implem

Re: How to pass dynamic attribute values to QueryCustomizer Implementations

2003-12-19 Thread Guido Beutler
Hi, Lance Eason wrote: It's entirely possible to do this, but in general I think it's a bad design *to* do it. I never said that it is the best way to do it. :-) Collection descriptors are used to model relationships, not arbitrary dynamic queries. The role of query customizers is to allow y

Re: How to pass dynamic attribute values to QueryCustomizer Implementations

2003-12-19 Thread Daniel Perry
riday, December 19, 2003 4:49 PM Subject: RE: How to pass dynamic attribute values to QueryCustomizer Implementations It's entirely possible to do this, but in general I think it's a bad design *to* do it. Collection descriptors are used to model relationships, not arbitrary dyna

RE: How to pass dynamic attribute values to QueryCustomizer Implementations

2003-12-19 Thread Lance Eason
e- From: Guido Beutler [mailto:[EMAIL PROTECTED] Sent: Friday, December 19, 2003 10:01 AM To: OJB Users List Subject: Re: How to pass dynamic attribute values to QueryCustomizer Implementations Hello, I'm a bit restricted in posting original code but I'll do my best :-) Ok. Bria

Re: How to pass dynamic attribute values to QueryCustomizer Implementations

2003-12-19 Thread Guido Beutler
Hello, I'm a bit restricted in posting original code but I'll do my best :-) Ok. Brian McCallister wrote: Saw your original message and am thinking about this one. Any chance you can post specifics? Does value need to change while running, or is it just dependent upon something at load ti

Re: How to pass dynamic attribute values to QueryCustomizer Implementations

2003-12-19 Thread Brian McCallister
Saw your original message and am thinking about this one. Any chance you can post specifics? Does value need to change while running, or is it just dependent upon something at load time? -Brian On Fri, 2003-12-19 at 10:09, Guido Beutler wrote: > Hello, > > This is a repost with a better subj