[ Programming Trail >> Database Management >> Oracle ]
TIPS
- tnsnames.ora contains the information for connecting to your database. The file can be located at $ORACLE_HOME\product\10.1.0\Client_1\network\ADMIN
- ABCD is the TNSNames_Entry in tnsnames.ora
tnsnames.ora entry
ABCD =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ....
Java Code for connection object
Connection conn = DriverManager.getConnection
("jdbc:oracle:oci8:@ABCD", "user", "password");
// or oci7 @TNSNames_Entry, userid, password
Contributors
Jyotirmaya Nanda
I block the IP address(es) of users trying to vandalize my wiki. A simple mail to me can remove your IP from the blocked list. If you are new to wiki and want to try something out please do so at the Wiki Sand Box. Thank you !!.
|