How to specify 2 servers in jdbc string for Oracle data guard
![](http://jazz.net/_images/myphoto/61fe9ae3e2ca3fe9b02154d98ed61451.jpg)
One answer
![](http://jazz.net/_images/myphoto/61fe9ae3e2ca3fe9b02154d98ed61451.jpg)
the format for the jdbc string should be like(all chars included):
thin:YOURJAZZDBSCHEMA/{password}@(description=(load_balance=on)(failover=on)(connect_timeout=10)(retry_count=9)(retry_delay=2)(address=(protocol=tcp)(host=someprimaryhost.company.com)(port=1531))(address=(protocol=tcp)(host=comsecondhost.company.com)(port=1531))(connect_data=(service_name=databaseservice.company.com)))