null, _connection.getSchema(), _tableName);
null, schemaName, tableName);
    private String[] getPrimaryKeyNames() throws SQLException    {        Connection connection = _connection.getConnection();        DatabaseMetaData databaseMetaData = connection.getMetaData();        ResultSet resultSet = databaseMetaData.getPrimaryKeys(                null, _connection.getSchema(), _tableName);        List list = new ArrayList();        try        {            while (resultSet.next())            {                String name = resultSet.getString(4);                int index = resultSet.getInt(5);                list.add(new PrimaryKeyData(name, index));            }        }        finally        {            resultSet.close();        }        Collections.sort(list);        String[] keys = new String[list.size()];        for (int i = 0; i < keys.length; i++)        {            PrimaryKeyData data = (PrimaryKeyData)list.get(i);            keys[i] = data.getName();        }        return keys;    }