Is there a reason why org.springframework.beans.propertyeditors.StringTrimmerEditor is not the default property editor for Strings in Grails?
I can't find any use-case in my apps where I want to preserve white-space before or after user input, or store empty strings in the db.
To avoid query problems I always have to register a custom property editor for String in my applications. (one registrar class and one entry in resources.groovy)
I would suggest a change of default editor for String, or at least make it easier to change the default.
Feel free to push this issues in a suitable direction (use StringTrimmerEditor, and/or make it easier to plugin custom property editors)