The following JDO generated query takes our Derby 10.5.1.1 database 10 minutes to return 0 or 4 results.
That sounds like something that can be improved on. Here's some information on how to get started studying this behavior:
http://wiki.apache.org/db-derby/PerformanceDiagnosisTips thanks, bryan
