jodd-db/src/main/java/jodd/db/oom/dao/GenericDao.java
public <E, ID> E findById(final Class<E> entityType, final ID id) {
		return query(dbOom.entities().findById(entityType, id)).autoClose().find(entityType);
	}
public <E, ID> E findById(final Class<E> entityType, final ID id) {
		return query(dbOom.entities().findById(entityType, id)).autoClose().find(entityType);
	}
public < E , ID > E findById ( final Class < E > entityType , final ID id ) { return query ( dbOom . entities ( ) . findById ( entityType , id ) ) . autoClose ( ) . find ( entityType ) ; }
Finds single entity by its id.
Finds single entity by its id .