File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

data base alias name

 
durga prasad
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please help me out to get answer to my production problem.
My code(JDBC) gets database connection from oracle database. But if I change the database to alias name it does not recognise the database.
I am using JDK 1.3 and oracle 8.0; Is it problem with version of JDBC i am using? Is JDBC version of JDK 1.3 support alias names for the database?
Please reply soon.
 
Chandresh Patel
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you are missing some comfiguration. Please clarify how you are getting connection. is URL wrong?
 
durga prasad
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
nope. Connection woks with actual database name but not with the alias name. I learnt that oracle thin driver doesn't support this kind of failover and hence I tried with thick driver(OCI) but I did not get the result!! Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic