Finally found a way in case anybody was curious...  Unfortunately, I
have to loop through all of my pertinent records until I have a match
on the keys.  If anyone can suggest a different way (that works)
that's more efficient than below, do tell...

   Query query = pm.newQuery(Categories.class, "userName == '" +
user.getNickname() + "'");

   List<Categories> results = (List<Categories>) query.execute();
   for (Categories cat : results) {
      if (cat.getKey().toString().equals(reqParm)) {
         pm.deletePersistent(cat);
      }
   }
   query.closeAll();

I appreciate the input of datanucleus though he/she wasn't able to
ultimately lead me to the solution.

--

You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To post to this group, send email to google-appengine-j...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.


Reply via email to