Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/leptonyu/odpic-raw
Haskell raw bindings to Oracle ODPI-C Library
https://github.com/leptonyu/odpic-raw
haskell odpi oracle
Last synced: about 2 months ago
JSON representation
Haskell raw bindings to Oracle ODPI-C Library
- Host: GitHub
- URL: https://github.com/leptonyu/odpic-raw
- Owner: leptonyu
- License: bsd-3-clause
- Created: 2018-01-24T04:13:10.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-08-14T02:54:37.000Z (over 2 years ago)
- Last Synced: 2023-09-20T09:14:46.615Z (over 1 year ago)
- Topics: haskell, odpi, oracle
- Language: C
- Size: 379 KB
- Stars: 17
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: Changelog.md
- License: LICENSE
Awesome Lists containing this project
README
# odpic-raw
[![Hackage](https://img.shields.io/hackage/v/odpic-raw.svg)](https://hackage.haskell.org/package/odpic-raw)
[![Build Status](https://travis-ci.org/leptonyu/odpic-raw.svg?branch=master)](https://travis-ci.org/leptonyu/odpic-raw)Haskell raw bindings to [Oracle ODPI-C Library](https://github.com/oracle/odpi).
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](http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html)
* GHC 8.* or greaterInstallation:
```
stack build odpic-raw
```Use environment [`DPI_DEBUG_LEVEL`](https://oracle.github.io/odpi/doc/user_guide/debugging.html) 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.
```SQL
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:
* [Hackage](https://hackage.haskell.org/package/odpic-raw)
* [ODPI-C](https://oracle.github.io/odpi/doc/)