protected function _guessToColumn() { if (null == $this->_to_column) { $guess = $this->_to_table->getPrimaryKey(); $this->setToColumn($guess); } }