Re: SQLTemplate Velocity lexical error

2011-05-18 Thread Andrus Adamchik
Not commenting on the overall solution (EJBQL shortcomings are probably a topic of a seaparate thread), but Expressions can store parameters, just like queries: Expression e = ... Expression eWithParameters = e.expWithParameters(parametersMap); Andrus On May 17, 2011, at 12:13 PM, Laurent March

Re: Help or sample on vertical inheritance

2011-05-18 Thread Andrus Adamchik
Ok, here is a modified version of that DataMap that has vertical inheritance mapped correctly. Per http://cayenne.apache.org/doc30/modeling-vertical-inheritance.html v-inheritance in Cayenne is the same as single-table, only with flattened attributes to child tables. So the main change that I m