 | Takusen-0.8.2: Database library with left-fold interface, for PostgreSQL, Oracle, SQLite, ODBC. | Contents | Index |
|
| Database.Oracle.OCIConstants | | Portability | non-portable | | Stability | experimental | | Maintainer | oleg@pobox.com, alistair@abayley.org |
|
|
|
|
|
| Description |
| Contains CInt equivalents of the #defines in the oci library headers.
This is not a complete set; just enough to get the Haskell libraries working.
This also might not be particularly portable, but I don't think Oracle are going
to change these in a hurry (that would break compiled programs, wouldn't it?).
|
|
| Synopsis |
|
|
|
|
| Used all over the place:
|
|
| oci_DEFAULT :: CInt |
|
| Handle types:
|
|
| Error code types:
|
|
| Attribute types:
|
|
| Authentication options:
|
|
| oci_CRED_RDBMS :: CInt |
| Found in $ORAHOME/oci/include/oci.h
|
|
| oci_CRED_EXT :: CInt |
|
| oci_CRED_PROXY :: CInt |
|
| Syntax types (i.e. does the DBMS understand v7 or v8 syntax, etc):
|
|
| oci_NTV_SYNTAX :: CInt |
| Found in $ORAHOME/oci/include/oci.h
|
|
| Scrollable Cursor Options:
|
|
| oci_FETCH_NEXT :: CInt |
| Found in $ORAHOME/oci/include/oci.h
|
|
| oci_FETCH_FIRST :: CInt |
|
| oci_FETCH_LAST :: CInt |
|
| oci_FETCH_PRIOR :: CInt |
|
| oci_FETCH_ABSOLUTE :: CInt |
|
| oci_FETCH_RELATIVE :: CInt |
|
| oci_FETCH_RESERVED :: CInt |
|
| OCI datatypes:
|
|
| oci_SQLT_CHR :: CInt |
| Found in $ORAHOME/oci/include/ocidfn.h
|
|
| oci_SQLT_NUM :: CInt |
|
| oci_SQLT_INT :: CInt |
|
| oci_SQLT_FLT :: CInt |
|
| oci_SQLT_STR :: CInt |
|
| oci_SQLT_VNU :: CInt |
|
| oci_SQLT_LNG :: CInt |
|
| oci_SQLT_VCS :: CInt |
|
| oci_SQLT_RID :: CInt |
|
| oci_SQLT_DAT :: CInt |
|
| oci_SQLT_VBI :: CInt |
|
| oci_SQLT_BIN :: CInt |
|
| oci_SQLT_LBI :: CInt |
|
| oci_SQLT_UIN :: CInt |
|
| oci_SQLT_LVC :: CInt |
|
| oci_SQLT_LVB :: CInt |
|
| oci_SQLT_AFC :: CInt |
|
| oci_SQLT_AVC :: CInt |
|
| oci_SQLT_RSET :: CInt |
|
| Transaction types; parameters for ociTransStart.
|
|
| oci_TRANS_READONLY :: CInt |
| Found in $ORAHOME/oci/include/oci.h.
There are more than this, but they're related to complicated
transaction-management stuff in the OCI libraries that I don't understand.
These should be sufficient to support the simple transaction model
understood by most developers.
|
|
| oci_TRANS_READWRITE :: CInt |
|
| oci_TRANS_SERIALIZABLE :: CInt |
|
| Produced by Haddock version 0.7 |