Skip to content
This repository was archived by the owner on Mar 18, 2026. It is now read-only.
This repository was archived by the owner on Mar 18, 2026. It is now read-only.

Database connection string not working with SQL Loader #6

@PhilKitching

Description

@PhilKitching

The code currently takes the URL from the JDBC connection string, splits it on colons and takes the last part to use as the server for a SQL Loader connection.
Depending upon the URL, that will be either the database SID or port/SID.
The only way that seems to work is if there is a TNSNAMES.ORA entry to match the SID to the database instance.
I did set up one database to work ok, but another system that I work on uses the same set of SIDs on each of several servers.
The code for the SQL Plus job runner takes everything in the URL after the "@" sign to use as the server and that would seem more likely to work; also it should cope with a URL of the form server:port/servicename.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions