jdbc configuration according to hostname