agave-systems/systems-core/src/main/java/org/iplantc/service/systems/dao/BatchQueueDao.java
/**
     * Fetches the {@link BatchQueue} with the given {@code uuid}.
     * 
     * @param uuid of a {@link BatchQueue}
     * @return {@link BatchQueue} with the given uuid or null if no match.
     */
Fetches the  BatchQueue with the given  uuid.

@param uuid of a  BatchQueue
@return  BatchQueue with the given uuid or null if no match.
Fetches the BatchQueue with the given uuid . @param uuid of a BatchQueue @return BatchQueue with the given uuid or null if no match .
public BatchQueue findByUuid(String uuid)
    {
        try
        {
            HibernateUtil.beginTransaction();
            Session session = HibernateUtil.getSession();
            session.clear();
            BatchQueue queue = (BatchQueue)session
                    .createCriteria(BatchQueue.class)
                    .add(Restrictions.eq("uuid", uuid))
                    .uniqueResult();
            return queue;
        }
        catch (HibernateException ex)
        {
            throw ex;
        }
    }
public BatchQueue findByUuid ( String uuid ) { try { HibernateUtil . beginTransaction ( ) ; Session session = HibernateUtil . getSession ( ) ; session . clear ( ) ; BatchQueue queue = ( BatchQueue ) session . createCriteria ( BatchQueue . class ) . add ( Restrictions . eq ( "uuid" , uuid ) ) . uniqueResult ( ) ; return queue ; } catch ( HibernateException ex ) { throw ex ; } }
Fetches the {@link BatchQueue} with the given {@code uuid}.
Fetches the { @link BatchQueue } with the given { @code uuid } .