jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java
@SuppressWarnings({"unchecked"})
	public <E> E findOne(final Object criteria) {
		return (E) query(dbOom.entities().find(criteria)).autoClose().find(criteria.getClass());
	}
@SuppressWarnings({"unchecked"})
	public <E> E findOne(final Object criteria) {
		return (E) query(dbOom.entities().find(criteria)).autoClose().find(criteria.getClass());
	}
Finds one entity for given criteria.