protected function getObjectValue($object, $property)
{
try {
return TPropertyAccess::get($object, $property->getProperty());
} catch (TInvalidPropertyException $e) {
throw new TSqlMapException('sqlmap_unable_to_get_property_for_parameter', $this->getID(), $property->getProperty(), is_object($object) ? get_class($object) : gettype($object));
}
}