Session session = factory.openSession();
SQLQuery query = session.createSQLQuery("SELECT {uss.*} FROM uss {uss} WHERE nome like '"+nome+"'");
query.addEntity("uss", Uss.class);
Uss uss = null;
if(query.list().size() > 0){
uss = (Uss) query.list().get(0);
}
session.close();
return uss;