Haskell raw bindings to Oracle ODPI-C Library.
Requirements:
- odpic-raw 5.* contains the ODPI-C source, so you don't need to install it manually.
- Oracle Instant Client Basic or Basic Light package
- GHC 8.* or greater
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: