This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Connection con = DriverManager.getConnection(url,"user","password"); My computer name is laptop running the Oracle 8i Database on Port 1521. My Database name is "POS". For url, I tried... url = "jdbc racle:@POS:1521:POS"; url = "jdbc racle:@POS.domain:1521:POS"; url = "jdbc racle:@POS.domain:1521:POS.domain"; url = "jdbc racle:@POS:1521:POS.domain"; I do have the Listener running. My SID is set to POS and my global db name is POS.domain. How can I check to ensure that I am right using Oracle 8i under Windows 2k? I am almost positive that I am correct though from when I setup the database to begin with. This is running off of my local machine right now, but when I am done writing the program, it will be used from other machines off of one server. Am I correct in the assumption that the Catch function is called if the database connection is not established? Becuase, right now, it is being executed. [This message has been edited by Jeff Grant (edited December 20, 2001).]