Outer joins are not supported, I know.
Meanwhile I miss being *told* when I'm attempting an outer join,
minimally runtime.
One of the reasons I'm using Cayenne is that I don't want to think
about SQL, so I don't. It hurts even thinking about thinking about how
Cayenne Expressions turn into SQL
Hi All,
I am currently having problems integrating Flex Data Services with Cayenne.
With the Flex 2 design patterns, I have a corresponding ActionScript
DataObject on the client, with is then converted into a Cayenne
DataObject using reflection by some Flex serialization libraries.
Creating
Hi Malcolm,
You can traverse an object graph using ClassDescriptor with a custom
PropertyVisitor. For instance DataContext.registerNewObject(..)
implements a similar algorithm for the NEW objects.
Andrus
On Aug 17, 2006, at 7:33 AM, Malcolm Edgar wrote:
Hi All,
I am currently having
Would it make sense for Cayenne to throw an exception when an outer
join is attempted?
Could you be more specific on when it should detect that? IIRC there
were some discussions on that in the past. You provide no references
though.
Also there is an effort underway to support outer joins
Hi Andrus,
thanks for the tip. I am working on this path..
regards Malcolm Edgar
On 8/17/06, Andrus Adamchik [EMAIL PROTECTED] wrote:
Hi Malcolm,
You can traverse an object graph using ClassDescriptor with a custom
PropertyVisitor. For instance DataContext.registerNewObject(..)
implements a
Good point. Another suggestion: instead of using ASTScalar, you can
implement a similar custom subclass that extends ConditionNode. E.g.
ASTBoolean extends ASTCondition.
We should include this in Cayenne at some point too...
Andrus
On Aug 16, 2006, at 4:47 PM, Øyvind Harboe wrote:
I'm
Hello,
is there a nice way to sort a List of Cayenne-Objects on o
primary-key-field, e.g. id (pk) in memory, because the user can resort
the existing list more than one time. I don't want to read it out from DB
every time.
This doesn't help:
this.resultList = new
On 8/17/06, Andrus Adamchik [EMAIL PROTECTED] wrote:
Would it make sense for Cayenne to throw an exception when an outer
join is attempted?
Could you be more specific on when it should detect that? IIRC there
were some discussions on that in the past. You provide no references
though.
I
The easiest way to order on a property that is not really a property
is to create a cover getter for it in the persistent class:
public int getId() {
return DataObjectUtils.intPkForObject(this);
}
Andrus
On Aug 17, 2006, at 10:11 AM, Zvonimir Spajic wrote:
Hello,
is there a nice way to