public void findRoomType(String roomType) {
        Query q = em.createQuery("SELECT t from TypeEntity t");
        for (Object o : q.getResultList()) {
            TypeEntity p = (TypeEntity) o;

            if (p.getName().equals(roomType)) {
                typeEntity = p;
            }
        }
    }