Feature Request: validateAndSave() to JPASupport objects
Bug #510928 reported by
thelinuxlich
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
play framework | Status tracked in 1.0 | |||||
1.0 |
Fix Released
|
Undecided
|
Unassigned | |||
1.1 |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
It's not explicitly clear that save() doesn't fire up validations...so here is a patch with a method validateAndSave() that returns a boolean and save the object if valid.
To post a comment you must log in.