Test SQL Java Connection and Code