Jdbc Template and Quering Database