This is additional info for the error mentioned in my last email. If I alter the column definitions to use 'int' as opposed to 'mediumint', then everything works fine! So, its the 'mediumint' type that isnt mapping properly... where would i fix this?