Updated to not try to prime PVS cache for non-table PVS's

This commit is contained in:
2022-10-11 08:41:45 -05:00
parent c43a8998ec
commit 6ec6b173b9

View File

@ -126,7 +126,11 @@ public class QPossibleValueTranslator
} }
List<QPossibleValue<?>> rs = new ArrayList<>(); List<QPossibleValue<?>> rs = new ArrayList<>();
primePvsCache(possibleValueSource.getTableName(), List.of(possibleValueSource), ids); if(possibleValueSource.getType().equals(QPossibleValueSourceType.TABLE))
{
primePvsCache(possibleValueSource.getTableName(), List.of(possibleValueSource), ids);
}
for(Serializable id : ids) for(Serializable id : ids)
{ {
String translated = translatePossibleValue(possibleValueSource, id); String translated = translatePossibleValue(possibleValueSource, id);