title: what is transaction management in hibernate?
body: <p>What is transaction management in hibernate?</p>
  
  <p>in my hibernate application one-to-many mapping is there. </p>
  
  <p>Eg : <code>Student</code> table is mapped with <code>Subjects</code> table.</p>
  
  <p>When I am adding a <code>Student</code> object at that time <code>Subjects</code> table also adding some entry.</p>
  
  <p>While any error occurs in <code>Subjects</code> table insertion I want automatically delete the <code>Student</code> table entry. </p>
  
  <p>Is it possible through transaction management? Else how is it possible?</p>