public RepasseBanco consultar(RepasseBanco repasse){
Session session = HibernateUtil.getSessionFactory().openSession();
session.beginTransaction();
Query select = session.createQuery("FROM RepasseBanco WHERE dataVigencia = :data");
select.setDate("data", repasse.getDataVigencia());
RepasseBanco resultado = (RepasseBanco) select.uniqueResult();
session.getTransaction().commit();
session.close();
return resultado;
}