Basic hibernate connection with postgresql