JDBC URL Syntax
705023Nov 4 2009 — edited Nov 20 2014Hi
I need help to configure the jdbc url for a datasource in weblogic.
Normally, it would look like this
<url>jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS_LIST=(ADDRESS= (PROTOCOL=TCP)(HOST=lcqsol24)(PORT=1521))(ADDRESS=(PROTOCOL=TCP) (HOST=lcqsol25)(PORT=1521))(FAILOVER=on)(LOAD_BALANCE=off)) (CONNECT_DATA=(SERVER=DEDICATED)(SERVICE_NAME=snrac)))</url>
However, in my case, each instance has a different service name therefore, is there a way to assign different service name to each address individually?
Also, multi-datasource does not work, so it is not an option.
Thank you
regards
Tony