Moving common jdbc to a dedicated file
Minor fix