ebean
ebean copied to clipboard
PersistVisitor: a method to validate data that should be saved
We use this in our application to validate beans before they will be saved.
DB.visitSave(bean, visitor)
will call the PersistVisitor for each bean that is dirty and will be saved.
I don't think this is the right long term path in terms of validation.
I'll close this issues