Errr... are you using JPA or Hibernate? I don't think the filtering has been implemented completely in JPA. (My code uses Hibernate)
alex On 10/2/07, Alex Boisvert <[EMAIL PROTECTED]> wrote: > > Hi Rich, > > Sounds like a minor bug; I have code calling delete() with "iid = 404" > (note the spaces around the equal operator) and that works so maybe there's > an issue with the parser. Please file a bug and I'll look into it. Can > you also try with spaces? > > alex > > On 10/1/07, Rich Taylor <[EMAIL PROTECTED]> wrote: > > > > I'm trying to delete a particular instance via the Management Interfaces > > and > > can't seem to do it. I'm calling the InstanceManagement.delete(String > > filter) method with a param of "iid=404" (for example). When I make > > this > > call, it appears that ALL instances get deleted and Ode is left in an > > odd > > states. > > > > From looking at things via the debugger it seems that > > BPELDAOConnectionImpl.instanceQuery() isn't completely implemented yet > > which > > may be causing this. It seems that the code doesn't yet fully utilize > > the > > criteria to build the query. There is a "TODO" in this method which is > > a > > pretty obvious hint, but this section of the code is unfamiliar to me. > > > > Are others able to delete particular instances or shall I write up an > > issue > > for this? > > > > Thanks, > > Rich Taylor > > > >