Giter VIP home page Giter VIP logo

fastldr's Introduction

FastLdr

Alternative data loader with Oracle sqlldr compatible interface

Compilation:

ojdbc7.jar must be downloaded from oracle website and installed manualy to local maven repository. It can be downloaded eg. from oracle maven repository To install the file into your local repository, use following command mvn install:install-file -DgroupId=com.oracle -DartifactId=ojdbc7 -Dversion=12.1.0.1 -DgeneratePom=true -Dfile=ojdbc7.jar -Dpackaging=jar

Execute mvn package in the project root. The file fastldr-1.0.0-SNAPSHOT-jar-with-dependencies.jar is generated in fastldr/target/ directory.

Run:

java -jar fastldr-1.0.0-SNAPSHOT-jar-with-dependencies.jar <parameters>

Note:

The USERID paremeter is parsed as EZCONNECT string - username/password@[//]host[:port][/service_name]

The connection string is then generated as jdbc:oracle:thin:@//host:port/service_name (eg. using service name instead of SID)

Connecting to other database than Oracle:

[TODO]

Credits:

Martin Bednář [email protected] Vítek Tajzich [email protected] Pavel Lobodinský [email protected] Michal Misecius [email protected]

fastldr's People

Contributors

donarus avatar xxbedy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

fastldr's Issues

Port number in OracleDataSource is hardcoded (1521)

I have found one issue. My Oracle instance is running on port 1522. But in OracleDataSource.java in method createUrl() is it assumed that it will always be 1521:

    sb.append(cmdArguments.getUserID().getHostname()).append(":1521:")
            .append(cmdArguments.getUserID().getInstance());

Should be configurable! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.