Re: Cannot connect to one Oracle DB using JDBC
- From: Alfred <user@xxxxxxxxxxx>
- Date: Sun, 04 Feb 2007 09:32:56 +0100
davis@xxxxxxxxxxxx wrote:
...
The message I am getting looks like this
Driver: oracle.jdbc.driver.OracleDriver
Connecting to jdbc:oracle:thin:@db5.netaspx.com:1521:c0ujP0...
With Thin driver you connect directly to Oracle's
SQL listener. In this case tnsnames.ora is useless.
The connection string has to be ended with System
Identifier of your Oracle instance - not with service
name or service id. The Oracle SID is the unique name
of instance/database of your Oracle installation.
Alfred
.
- References:
- Cannot connect to one Oracle DB using JDBC
- From: davis
- Cannot connect to one Oracle DB using JDBC
- Prev by Date: Re: JDBC connection to SQL Server 2005 with domain user
- Next by Date: Re: Problem with JDBC ODBC BRIDGE DRIVER
- Previous by thread: Re: Cannot connect to one Oracle DB using JDBC
- Next by thread: Re: Cannot connect to one Oracle DB using JDBC
- Index(es):
Relevant Pages
|