Haskell raw bindings to Oracle ODPI-C Library.
Requirements:
Installation:
stack build odpic-raw
Use environment DPI_DEBUG_LEVEL
to set DPI debug level.
For non-english user, please set environment NLS_LANG
to specify the oracle db encodings. use following sql to get the value.
SELECT USERENV ('language') FROM DUAL
Or use setupLanguage
to set NLS_LANG
automatically.
Test:
export DB_USER=username
export DB_PASS=password
export DB_URL=localhost/dbname
stack test
More Documents: