I fixed this issue by correcting my jdbc string.
For example, the correct jdbc string should be…
jdbc:oracle:thin:@myserver:1521/XE
But the jdbs string I was using is …
jdbc:oracle:thin:@myserver:1521:XE
(Note: between 1521
and XE
should be a /
)
This bad jdbc string give me a ORA-12505 error too.
More Related Contents:
- No more data to read from socket error
- Oracle JDBC ojdbc6 Jar as a Maven Dependency
- ORA-01882: timezone region not found
- Fetch Oracle table type from stored procedure using JDBC
- TNS-12505: TNS:listener does not currently know of SID given in connect descriptor
- Oracle JDBC and Oracle CHAR data type
- Default Schema in Oracle Connection URL
- URL string format for connecting to Oracle database with JDBC
- NLS_LANG setting for JDBC thin driver?
- HikariCP: What database level timeouts should be considered to set maxLifetime for Oracle 11g
- How to change default nls_date_format for oracle jdbc client
- What is the difference between varchar and varchar2 in Oracle?
- How to enable logging for SQL statements when using JDBC
- Passing an array of data as an input parameter to an Oracle procedure
- Difference between Oracle jdbc driver classes?
- Split function in oracle to comma separated values with automatic sequence
- ORA-06508: PL/SQL: could not find program unit being called
- How to handle to_date exceptions in a SELECT statment to ignore those rows?
- How to return a resultset / cursor from a Oracle PL/SQL anonymous block that executes Dynamic SQL?
- Call an Oracle function from Java
- Difference between VARCHAR2(10 CHAR) and NVARCHAR2(10)
- HIbernate issue with Oracle Trigger for generating id from a sequence
- Why cannot I use bind variables in DDL/SCL statements in dynamic SQL?
- error: ORA-65096: invalid common user or role name in Oracle database
- Using Alias in query resulting in “command not properly ended”
- Spring boot Hibernate error “Access to DialectResolutionInfo cannot be null when ‘hibernate.dialect’ not set” when working with multiple data sources
- How to insert a column in a specific position in oracle without dropping and recreating the table?
- Get the LENGTH of a LONG RAW
- MySQL equivalent of ORACLES rank()
- Oracle: Days between two date and Exclude weekdays how to handle negative numbers