Still having issue with the query statements. With JdbcTemplate I get this strange error that I don't know what to do. Then if I use the old regular preparedstatement from javax.sql then it works with no compilation or strange errors. But somehow the data isn't loading in to the database.