SID or Service Name for JDBC connection ?
452507Sep 26 2006 — edited Sep 26 2006When establising a JDBC connection using the thin driver, is it common practice to use SID's or Service Names ?
Most JDBC examples I've found use SIDs, but Oracle say use Service Names because "SIDs will be cease to be supported in one of the next few releases of the database". Is there any real prospect of SIDs being dropped ?
http://www.oracle.com/technology/tech/java/sqlj_jdbc/htdocs/jdbc_faq.htm#05_04
I'd rather not have to write code that needs to cater for both SIDs and Service Names.