Then this is wrong/ error prone:
query7.setString(1,ReleaseDate);
Type: Posts; User: PhHein
Then this is wrong/ error prone:
query7.setString(1,ReleaseDate);
That query7.executeQuery(); inside the while loop is nonsense. Is RELEASEDATE a CHAR/VARCHAR or a DATE column? You fetch the titles into the TITLE String which is defined inside the loop, so you can...