 <p>A jdbc statement is one single sql instruction. </p> <p>Here you try to run multiple sql instructions in one statement. You must split your sql on <code>;</code> and create an execute one statement for each instruction. </p> <p>From <a href="http://docs.oracle.com/javase/tutorial/jdbc/basics/processingsqlstatements.html" rel="nofollow">official doc</a>:</p> <blockquote> <p>A Statement is an interface that represents a SQL statement.</p> </blockquote>