agave-common/common-core/src/main/java/org/iplantc/service/common/persistence/HibernateUtil.java
/**
	 * Start a new database transaction.
	 */
Start a new database transaction.
Start a new database transaction .
public static void beginTransaction()
		throws PersistenceException {
		Transaction tx = threadTransaction.get();
		try {
			if (tx == null) {
				tx = getSession().beginTransaction();
				threadTransaction.set(tx);
			}
		} catch (HibernateException ex) {
			log.error("failed to begin transaction",ex);
			throw new PersistenceException(ex);
		}
	}
public static void beginTransaction ( ) throws PersistenceException { Transaction tx = threadTransaction . get ( ) ; try { if ( tx == null ) { tx = getSession ( ) . beginTransaction ( ) ; threadTransaction . set ( tx ) ; } } catch ( HibernateException ex ) { log . error ( "failed to begin transaction" , ex ) ; throw new PersistenceException ( ex ) ; } }
Start a new database transaction.
Start a new database transaction .
//				log.debug("Starting new database transaction in this thread.");