* @param codigoine
* @return
*/
@Transactional(readOnly = true, rollbackFor = Throwable.class, propagation = Propagation.REQUIRES_NEW)
public Street getByCodigoIne(Integer codigoine) {
Street res = null;
Session currentSession = getSession();
currentSession.flush();
Criteria criteria = currentSession.createCriteria(Street.class).add(
Restrictions.eq("codigoine", codigoine));
res = (Street) criteria.uniqueResult();