OK... as I understand it, when I query by criteria (PersistenceBroker), the criteria objects are being converted directly into WHERE clauses and therefore the left argument of the (for example) addEqualTo() method is a *column* name, not an attribute. Is this correct? It certainly seems to work at the moment.
Now I want to use path expressions, but the documentation refers to the syntax "relationshipname.attributename". Is "attributename" an attribute name, i.e. the name attribute-value on a field-descriptor, or a column name? The difficulties arise from complex mapping where field conversion and row-readers are being used to map one attribute across several columns, as per earlier postings I have made. If I can't use column names, then how does OJB know which field mapping to use in the where clause? Thanks Gareth. --------------------------------------------- Gareth Cronin Analyst/Programmer Kiwiplan NZ Ltd: http://www.kiwiplan.com Ph (64 9) 2727622 x854 -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
