db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jakob Braeuchi (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (OJB-11) DeleteByQuery does not follow dotted path notation (fk)
Date Wed, 27 Apr 2005 19:49:45 GMT
     [ http://issues.apache.org/jira/browse/OJB-11?page=all ]

Jakob Braeuchi reassigned OJB-11:
---------------------------------

    Assign To: Jakob Braeuchi

> 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: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Mime
View raw message