title: java.sql.SQLSyntaxErrorException: Syntax error: Encountered "80" at line 1, column 1100
body: <p>I get the following exception,</p>
  
  <pre><code>java.sql.SQLSyntaxErrorException: Syntax error: Encountered "80" at line 1, column 1100.
  </code></pre>
  
  <p>when I try to insert like the following!  Any idea what this could mean??!</p>
  
  <pre><code>String insertString = "insert into queries (data_id, query, "
                  + "query_name, query_file_name, status) values(" + currentDataID + ", '"
                  + params[1] + "', '" + params[2] + "', '" 
                  + params[3] + "', '" + params[4] + "')";
  try {
       Statement stmt = dbconn.createStatement();
       stmt.execute(insertString, Statement.RETURN_GENERATED_KEYS);
       ResultSet rs = stmt.getGeneratedKeys(); 
  
       if (rs != null &amp;&amp; rs.next()){     
             currentDataID = (int) rs.getLong(1); 
       } 
  } catch (SQLException ex) {
  }
  </code></pre>
  
  <p>Table definition,</p>
  
  <pre><code>CREATE TABLE queries (query_id INT not null primary key GENERATED "
                  + "ALWAYS AS IDENTITY (START WITH 1, INCREMENT BY 1), data_id "
                  + "INTEGER not null, foreign key (data_id) references data "
                  + "(data_id), query LONG VARCHAR, query_name VARCHAR(150), "
                  + "query_file_name VARCHAR(150),status VARCHAR(20))
  </code></pre>