* Return the internal BindingResult held by this DataBinder, as
* AbstractPropertyBindingResult.
*/
@Override
protected AbstractPropertyBindingResult getInternalBindingResult() {
AbstractPropertyBindingResult bindingResult = super.getInternalBindingResult();
// by rose
PropertyEditorRegistry registry = bindingResult.getPropertyEditorRegistry();
registry.registerCustomEditor(Date.class, new DateEditor(Date.class));
registry.registerCustomEditor(java.sql.Date.class, new DateEditor(java.sql.Date.class));
registry.registerCustomEditor(java.sql.Time.class, new DateEditor(java.sql.Time.class));
registry.registerCustomEditor(java.sql.Timestamp.class, new DateEditor(
java.sql.Timestamp.class));