ebean icon indicating copy to clipboard operation
ebean copied to clipboard

PersistVisitor: a method to validate data that should be saved

Open rPraml opened this issue 2 years ago • 1 comments

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.

rPraml avatar Mar 28 '22 12:03 rPraml

I don't think this is the right long term path in terms of validation.

rbygrave avatar Mar 28 '22 19:03 rbygrave

I'll close this issues

rPraml avatar Jan 12 '23 13:01 rPraml