jodd-db/src/main/java/jodd/db/oom/sqlgen/chunks/SqlChunk.java
protected String resolveTable(final String tableRef, final DbEntityDescriptor ded) {
		String tableAlias = templateData.getTableAlias(tableRef);
		if (tableAlias != null) {
			return tableAlias;
		}
		return ded.getTableNameForQuery();
	}
protected String resolveTable(final String tableRef, final DbEntityDescriptor ded) {
		String tableAlias = templateData.getTableAlias(tableRef);
		if (tableAlias != null) {
			return tableAlias;
		}
		return ded.getTableNameForQuery();
	}
Resolves table name or alias that will be used in the query.