jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java
protected DbEntityDescriptor lookupName(final String entityName) {
		DbEntityDescriptor ded = dbEntityManager.lookupName(entityName);
		if (ded == null) {
			throw new DbSqlBuilderException("Entity name not registered: " + entityName);
		}
		return ded;
	}
protected DbEntityDescriptor lookupName(final String entityName) {
		DbEntityDescriptor ded = dbEntityManager.lookupName(entityName);
		if (ded == null) {
			throw new DbSqlBuilderException("Entity name not registered: " + entityName);
		}
		return ded;
	}
Lookups for entity name and throws exception if entity name not found.