title: JDBI: Long/Interger exception when inserting data
body: <p>I want to insert a  row into a maraiDB database with JDBI/Dropwizard.  </p>
  
  <p>My table was generated with </p>
  
  <pre><code>CREATE TABLE parameter (
    job_id INT  references job(id),
    name VARCHAR(150) NOT NULL,
    content VARCHAR(150) NOT NULL
  );
  </code></pre>
  
  <p>and use an interface to insert data in to the database </p>
  
  <pre><code>  @SqlUpdate("INSERT INTO parameter (job_id, name , content) VALUES " +
   "(:job_id, :name , :content)")
    long insert(
        @Bind("job_id") int job_id, 
        @Bind("name") String name, 
        @Bind("content") String content);
  </code></pre>
  
  <p>now when I call the method via </p>
  
  <pre><code>private final ParameterJDBI parameterJDBI;
  public void insert() {
  
        parameterJDBI.insert(1, "name", "value");
  
    }
  </code></pre>
  
  <p>I get an error </p>
  
  <pre><code>ERROR [2018-06-14 15:39:46,083] io.dropwizard.jersey.errors.LoggingExceptionMapper: Error handling a request: 700d318fa5724df6
  ! java.lang.ClassCastException: java.lang.Integer cannot be cast to java.lang.Long
  </code></pre>
  
  <p>I also changed the signature to long and changed the first argument to <code>1L</code> but the error still persist. I dont understand where the long object comes from. </p>