Here are the steps
- Add jvm commandline option '-Doracle.net.tns_admin'. Value of this property should point to the directory containing 'tnsnames.ora' file.
- Change value of jdbc.url property to 'jdbc:oracle:thin:@MYDB' Here MYDB is one of the entries in tnsnames.ora file. That's it
No comments:
Post a Comment