DataArt Interview Question

How Hibernate manages transactions?