Feature Request: validateAndSave() to JPASupport objects

Bug #510928 reported by thelinuxlich
10
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.

Revision history for this message
thelinuxlich (thelinuxlich) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.