Quote Originally Posted by si_the_geek
I just looked at the table in Design view - and both of those fields are Text.

This means that for a "normal" SQL statement you should be using single quotes for both fields, and for your prepared statement you should be using setString for both.
I see now that they are both text, but my question is why did it work then, since I am setting an int and not a string for section_num. Does it do some sort of auto cast in the background?