// TODO: Handle other JDBC sources
public String getPrimaryKeyColumn(String tableName) {
		// FIXME: Currently working for PostgreSQL only
		if (this.dbSystem.equals("POSTGRESQL")) {
			String sqlPrimaryKey = "SELECT a.attname FROM pg_index i JOIN pg_attribute a ON a.attrelid = i.indrelid AND a.attnum = ANY(i.indkey) WHERE i.indrelid = '" + tableName + "'::regclass AND i.indisprimary;";
			return (String) findSingletonValue(sqlPrimaryKey);
		}
		else   // TODO: Handle other JDBC sources
			return null;
	}
return (String) findSingletonValue(sqlPrimaryKey);
}
else // TODO: Handle other JDBC sources
return null;
}
public String getPrimaryKeyColumn(String tableName) {
// FIXME: Currently working for PostgreSQL only
if (this.dbSystem.equals("POSTGRESQL")) {
String sqlPrimaryKey = "SELECT a.attname FROM pg_index i JOIN pg_attribute a ON a.attrelid = i.indrelid AND a.attnum = ANY(i.indkey) WHERE i.indrelid = '" + tableName + "'::regclass AND i.indisprimary;";
return (String) findSingletonValue(sqlPrimaryKey);
}
else // TODO: Handle other JDBC sources
return null;
}
public String getPrimaryKeyColumn(String tableName) {
// FIXME: Currently working for PostgreSQL only
if (this.dbSystem.equals("POSTGRESQL")) {
String sqlPrimaryKey = "SELECT a.attname FROM pg_index i JOIN pg_attribute a ON a.attrelid = i.indrelid AND a.attnum = ANY(i.indkey) WHERE i.indrelid = '" + tableName + "'::regclass AND i.indisprimary;";
return (String) findSingletonValue(sqlPrimaryKey);
}
else // TODO: Handle other JDBC sources
return null;
}