fixed jdbc creation in console