C3p0 failover
Status: Beta
Brought to you by:
swaldman
Hi
Weare using c3p0 withlobg jdbcurl ( failover=on. In our case theuserid and password properties are different for primary andand secondary. So whenfails over because of bad credentials it fails . How can it be handled?.
We tried setting the properties on sql sqlexception but we don't havea way in c3P0 to identify. Whether. It Is pointing to. Primary or secondary. Because connec.getclientdata.getmetadata.url also doesn't give the actual host the connection belongs to
Appreciate. Your help.