Problem: In ArcSDE Java API 8.1, SeQuery.setSpatialConstraints doesn't work if filter has M and Z values
If the filter shape passed to the SeQuery.setSpatialConstraints() method has M and Z values, the returned results are not correct. It is as if the filter shape had no M and Z values.
This is a known issue with the ArcSDE 8.1 Java application programming interface (API).
Solution or Workaround
This bug has been fixed for ArcSDE 8.1 SP2.