Dashboard Builder Commons 6.0.0.Beta4

org.jboss.dashboard.database.hibernate
Interface HibernateWork


public interface HibernateWork

Unit of work to be performed within a Hibernate transaction.


Method Summary
 Object doWork(org.hibernate.Session session)
          Execute a persistence unit of work.
 

Method Detail

doWork

Object doWork(org.hibernate.Session session)
              throws Throwable
Execute a persistence unit of work.

Parameters:
session - The Hibernate persistence session.
Returns:
The object to be returned.
Throws:
Throwable - If something goes wrong.

Dashboard Builder Commons 6.0.0.Beta4

Copyright © 2012-2013 JBoss by Red Hat. All Rights Reserved.