Just my 2 cents worth, given its a new record why can't you validate
all the data before ever getting to the database side. You could
validate the data in you controller if you are using an MVC
pattern for your gui. The only exception you would have to handle at the
back end of the process would be a duplicate key exception which may
be in your interface provided by sun already.