JDBC - Aster Client

Teradata Aster® Client Guide

Product
Aster Client
Release Number
7.00
Published
May 2017
Language
English (United States)
Last Update
2018-04-13
dita:mapPath
hki1475000360386.ditamap
dita:ditavalPath
Generic_no_ie_no_tempfilter.ditaval
dita:id
B700-2005
lifecycle
previous
Product Category
Software
  1. Install Teradata Wallet.
  2. Create tdclientdir where the binaries are located using:
    echo -n /opt/teradata/client/ > tdclientdir
  3. Add a name/value pair to the wallet.
    $ ./tdwallet add mypassword
    Enter desired value for the item named "mypassword":
    Item named "mypassword" added.
  4. Get the JDBC Driver and tdwalletJNI.so.
  5. Copy tdwalletJNI.so into /home/beehive/work/multibranch/builds/build-main/lib/.
    $ javac -classpath /home/beehive/work/multibranch/builds/build-main/lib/noarch-aster-jdbc-driver.jar com/test/testjdbc/tdwallet.java
    $ java -classpath .:/home/beehive/work/multibranch/builds/build-main/lib/noarch-aster-jdbc-driver.jar -Djava.library.path=/home/beehive/work/multibranch/builds/build-main/lib/ com.test.testjdbc

    You can also find the tdwalletJNI.so file in the same directory as noarch-aster-jdbc-driver.jar in these packages:

    clients-platform-version-reversion.tar.gz
    clients_all/platform...
  6. Use the Teradata Wallet password $tdwallet( mypassword ) instead of the real password to log in to the Aster Database.