protected function _guessFromColumn()
{
if (null === $this->_from_column) {
$guess = $this->_to_table->getSingularName() . '_id';
if ($this->_from_table->hasColumn($guess)) {
$this->setFromColumn($guess);
} else {
throw new \Exception("Unable to guess from_column for association and none specified");
}
}
}