Ok, I'm going crazy on this one. MySQL is throwing a fit about this bit of SQL:
INSERT INTO `test_table`
( `column1`, `column2` )
VALUES
( ?COURSEID, ?COURSENAME )
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'COURSENAME )' at line 1
My debug code is showing both of the parameter values filled.