Home » Server Options » RAC & Failsafe » How to connect to RAC database using jdbc
How to connect to RAC database using jdbc [message #290657] Mon, 31 December 2007 01:06 Go to next message
surenhr
Messages: 45
Registered: August 2007
Location: gurgoan
Member
Hi ,Can anyone let me know how to create a connection with Rac database using java jdbc ..
Many thanx
Re: How to connect to RAC database using jdbc [message #290671 is a reply to message #290657] Mon, 31 December 2007 01:35 Go to previous messageGo to next message
Michel Cadot
Messages: 68716
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
There is no difference if the database is in RAC or not.
Just connect to the service.

Regards
Michel
Re: How to connect to RAC database using jdbc [message #292743 is a reply to message #290657] Wed, 09 January 2008 15:26 Go to previous message
umakishore
Messages: 5
Registered: January 2008
Junior Member
Eg:
jdbc:oracle:thin:@(DESCRIPTION = (ADDRESS=(PROTOCOL=TCP)(HOST=node1-vip)(PORT=1526)) (ADDRESS=(PROTOCOL=TCP)(HOST=node2-vip)(PORT=
1526)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = service_name)))


Previous Topic: running ocrconfig under root user has no effect
Next Topic: RAC System hangs if any node is starting
Goto Forum:
  


Current Time: Sat Nov 23 23:05:15 CST 2024