How to use basic and integrate jdbc template with Spring 4.