The connection is not the same as a normal database. connection.url using load-balance = yes or error
<session-factory>
<property name= "Connection.username" >username</property>
<property name= "Connection.url" >
jdbc:oracle:thin:@ (DESCRIPTION = (address = (PROTOCOL = tcp) (HOST = 11.172.0.71) (PORT = 1521)) (address = (PROTOCOL = tcp) (H OST = 11.172.0.70) (PORT = 1521)) (load_balance = yes) (FAILOVER = yes) (Connect_data = (SERVER = dedicated) (Service_Name = Orc L) (failover_mode= (TYPE = SELECT) (METHOD = BASIC) (retires = +) (DELAY = 15))))
</property>
<property name= "dialect" >net.sf.hibernate.dialect.Oracle9Dialect</property>
<property name= "Connection.password" >pwd</property>
<property name= "Connection.driver_class" >oracle.jdbc.driver.OracleDriver</property>
<mapping resource= "Add valid path"/>
</session-factory>
Hibernate connection to Oracle RAC