use of Jdbc to fetching AgendaItems