@@ -0,0 +1,780 @@
+package sfBugs;%0D%0A%0D%0Aimport java.sql.Connection;%0D%0Aimport java.sql.PreparedStatement;%0D%0Aimport java.sql.SQLException;%0D%0Aimport java.sql.Statement;%0D%0A%0D%0Apublic class Bug3152881 %7B%0D%0A    void falsePositive(Connection connection)%0D%0A            throws SQLException %7B%0D%0A        Statement createStmt = null;%0D%0A        PreparedStatement insertStmt = null;%0D%0A        try %7B%0D%0A            createStmt = connection.createStatement();%0D%0A            createStmt.executeUpdate(%22CREATE...%22);%0D%0A%0D%0A            insertStmt = connection.prepareStatement(%22INSERT...%22);%0D%0A            insertStmt.executeBatch();%0D%0A%0D%0A        %7D finally %7B%0D%0A            if (createStmt != null)%0D%0A                createStmt.close();%0D%0A            if (insertStmt != null) %7B%0D%0A                insertStmt.close();%0D%0A            %7D%0D%0A        %7D%0D%0A    %7D%0D%0A%7D%0D%0A

Add Bug3152881