jodd-db/src/main/java/jodd/db/oom/sqlgen/TemplateData.java
protected DbEntityDescriptor lookupName(final String entityName) {
		DbEntityDescriptor ded = entityManager.lookupName(entityName);
		if (ded == null) {
			throw new DbSqlBuilderException("Entity name not registered: " + entityName);
		}
		return ded;
	}
protected DbEntityDescriptor lookupName(final String entityName) {
		DbEntityDescriptor ded = entityManager.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.