A TIMESTAMP returns the TIMESTAMP value as  a String. But even then this works very well in most applications for me. But maybe just drop that and just fix tinyint to shortint and leave it that way.