On Java Development

All things related to Java development, from the perspective of a caveman.

Hibernate Transaction Coding Idiom

without comments


This post shows the suggested form of a Hibernate transaction constructed using a try/catch/finally block.

A typical transaction should use the following idiom:

A real-world implementation takes the following form:

Source: Hibernate Java Docs Author: Gavin King

Written by admin

April 3rd, 2014 at 6:48 pm

Posted in Hibernate,Idioms

Leave a Reply

You must be logged in to post a comment.