Andrus Adamchik | 11 Jul 2011 20:30
Favicon

Re: Syntax error and question about JOIN

Heh :-) 

In 3.1 we have a nice mechanism for creating simple extension points of Cayenne. I hope we'll start using
that more to unwind these chains and allow for easier extensibility. I guess community input and
contributions should become a driving force here.

Andrus

On Jun 30, 2011, at 4:09 PM, Wernke zur Borg wrote:
> Thanks Andrus, that got me going. I had to create six classes to add a
> single word to a query! ;)
> 
> And fortunately that single word is the first one to be output, so in my
> appendJoinSubtree() function I am simply outputting " INNER" and then
> call super.appendJoinSubtree() for the rest. Would have been more
> tedious if I had to insert something in the middle, because then I would
> have had to copy the whole method plus two private data members and an
> inner class.
> 
> Anyway, it is working now, thanks again.
> 
> Wernke
> 
> 
> 
> Am 29.06.2011 10:03, schrieb Andrus Adamchik:
>> There's a tree of related objects involved. Check Oracle8Adapter and related classes. It actually
switches Cayenne back to joins in WHERE clause. The chain of overridden objects goes like this:
>> 
>> Oracle8Adapter.getAction(..) 
(Continue reading)


Gmane