public function setType($propelType)
    {
        $this->getDomain()->setType($propelType);
        if ($propelType == PropelTypes::VARBINARY || $propelType == PropelTypes::LONGVARBINARY || $propelType == PropelTypes::BLOB) {
            $this->needsTransactionInPostgres = true;
        }
    }