title: What is the correct http status code to return when a DELETE cannot be performed?
body: <p>My application accepts http DELETE requests which will remove entries from a database managed through hibernate.</p>
  
  <p>The removal of certain entries would produce a hibernate.ConstraintViolationException because they are key in another table, thus they are not accepted. However, this error can change in time depending of the status of the DB. </p>
  
  <p>What is the correct http response for such a scenario?</p>
  
  <p>I thought of 412 (Precondition Failed) because the precondition of the entry being not in use by the system is not met.</p>