@Override
public BasketsBatch retrieveBatch(final Long batchId) {
final Session session = this.hibernateTemplate.getSessionFactory()
.openSession();
BasketsBatch basketsBatch = null;
try {
basketsBatch = (BasketsBatch) session.get(BasketsBatch.class,
batchId);
} catch (final HibernateException e) {
LOGGER.error(e);