You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by "Jakob Braeuchi (JIRA)" <ji...@apache.org> on 2005/04/27 21:49:56 UTC
[jira] Reopened: (OJB-11) DeleteByQuery does not follow dotted path notation (fk)
[ 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: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org