made an attempt at fixing variable type casting in mysql_doctrine raw queries, but then commented out attempt because of isseus such as postal codes being converted incorrectly