Corrected data types and implemented CommunityJDBCTemplate