I'm not particularly familiar with the format of the CREATE TABLE command, especially since I have never ever had to write
Java code to create a table, but without actually looking it up, that doesn't appear to me to be the right way to declare the primary key. Just doesn't seem right.
You didn't tell us which of the "(" characters is at position 149. We could copy the command and paste it into a text editor and count the characters, but then so could you.