in your executeQuery method you're selecting 3 columns from the table when u only need 1... change the statement to select whichever column holds the date information (im guessing "Od_datuma") and it...