Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Oracle driver expeption  RSS feed

 
oz erudio
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I wanna connect to a oracle database. I can ping and connect to it and view the tables.
But when ı try to do it via oracle jdbc driver and Jboss, I get that exception....

 
Jan Cumps
Bartender
Posts: 2632
17
C++ Linux Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi. The error message actualy explains what is wrong "ORA-12154: TNS:could not resolve the connect identifier specified ". Are you using Oracle Thick driver?

Can you rell us the Oracle connection string you have defined in your program?
 
oz erudio
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
No I use thin driver.
the connection string ı use is jdbcracle:thin:@<ip number>:<port number>:<database SID>
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!