[ http://issues.apache.org/jira/browse/OJB-11?page=all ] Jakob Braeuchi reopened OJB-11: -------------------------------
> DeleteByQuery does not follow dotted path notation (fk) > ------------------------------------------------------- > > Key: OJB-11 > URL: http://issues.apache.org/jira/browse/OJB-11 > Project: OJB > Type: Bug > Components: PB-API > Versions: 1.0.x CVS > Environment: OJB 1.0 > WinXP & Suse Linux > Reporter: S. Schl�sser > Assignee: Jakob Braeuchi > > Hi, > when creating a query using dotte path notation e.g. > crit.addEqualTo( "selectionDefItem.selectionDef.key", frage.getSelDefKey()); > I can do a > broker.getCollectionByQuery( q); > getting expected results, but a > broker.deleteByQuery( q) > fails with > sselectionDefItem.selectionDef.key = FrageDefinition.181.AntwortOptionen] > com.sap.dbtech.jdbc.exceptions.DatabaseException: [-4005] (at 41): Unknown > column name:SELECTIONKEY > [-4005] (at 41): Unknown column name:SELECTIONKEY > The generated sql is: > delete from selectiondefitementry where selectionkey = .. > i.e. the dotted path is not resolved. > Thanks for your ideas, > Stefan -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
