private static List<Attribute> getIdentifyingAttributes(DatabaseRelationDefinition table) { UniqueConstraint pk = table.getPrimaryKey(); if (pk != null) return pk.getAttributes(); else return table.getAttributes(); }
private static List<Attribute> getIdentifyingAttributes(DatabaseRelationDefinition table) { UniqueConstraint pk = table.getPrimaryKey(); if (pk != null) return pk.getAttributes(); else return table.getAttributes(); }
varNamePrefix = td.getID().getTableName() + "_"; UniqueConstraint pk = td.getPrimaryKey(); if (pk != null) { List<ImmutableTerm> terms = new ArrayList<>(pk.getAttributes().size() + 1);
varNamePrefix = td.getID().getTableName() + "_"; UniqueConstraint pk = td.getPrimaryKey(); if (pk != null) { List<ImmutableTerm> terms = new ArrayList<>(pk.getAttributes().size() + 1);