Patch for integer overflow when auto-casting in a PDO query.
Merge branch 'bugfix/int-overflow' into feature/orm-uuid