{
if (conn == null || rec == null)
throw new InvalidArgumentException("conn|rec", null);
DBColumn[] keyColumns = getKeyColumns();
if (key == null || keyColumns.length != key.length)
throw new InvalidKeyException(this, key);
// Select
for (int i = 0; i < keyColumns.length; i++)
{ // Set key column constraint
Object value = key[i];
if (db.isPreparedStatementsEnabled())