jdbc half working