It seems that this part of my code is where the exception occurs:
c = dbConnection.getConnection(); q = \"SELECT * FROM book WHERE nextInc<=? AND inlib=?
As per this, the error could occur because of non-existent column.
Could you put the structure of the table here?