DataArt interview question

How Hibernate manages transactions?