sope/sope-gdl1/Oracle8
Ludovic Marcotte 7440b66c05 Revert "(fix) remove un-needed library link"
This reverts commit 834f8c735d.
2018-09-22 10:27:26 -04:00
..
obj Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
COPYING.LIB Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
ChangeLog See sope-gdl1/Oracle8/ChangeLog 2011-11-14 20:01:21 +00:00
EOAttribute+Oracle.h Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
EOAttribute+Oracle.m Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
GNUmakefile Revert "(fix) remove un-needed library link" 2018-09-22 10:27:26 -04:00
OracleAdaptor.h Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
OracleAdaptor.m Monotone-Parent: d45d39a4d591839ed7a4c50453f1d262f8360359 2012-02-16 20:35:05 +00:00
OracleAdaptorChannel.h Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
OracleAdaptorChannel.m (fix) avoid trying to reconnect, the check for OCI_ATTR_SERVER_STATUS is always bogus 2018-09-21 12:45:40 -04:00
OracleAdaptorChannelController.h Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
OracleAdaptorChannelController.m (fix) added more logging 2018-09-04 15:04:36 -04:00
OracleAdaptorContext.h Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
OracleAdaptorContext.m Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
OracleSQLExpression.h Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
OracleSQLExpression.m Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
OracleValues.h Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
OracleValues.m Monotone-Parent: 1b121c0c9891fb09844f64de7ec01bd95dcd0893 2012-02-16 20:28:32 +00:00
README Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
Version Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
condict.plist Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00
err.h Fixed licensing 2012-04-02 18:24:18 +00:00
err.m Fixed licensing 2012-04-02 18:24:18 +00:00
otest.m Added SOPE (r1664) to Inverse's monotone repo. 2010-07-29 17:27:45 +00:00

README

Oracle 10g GDL Adaptor
Copyright (c) 2007  Inverse groupe conseil inc. and Ludovic Marcotte
====================================================================

This adaptor allows you to use an Oracle 10g (or above/below) server togeter
with GDL. It makes use of the new OCI API from Oracle. In order to compile
and use this adaptor, you must install the Oracle Instant Client.

For Linux-based operating systems, please refer to the following page
for installation instructions:

http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html

You'll have to install the following packages from Oracle:

 * oracle-instantclient-basic
 * oracle-instantclient-devel

Once you've installed the requirements, follow the installation and configuration
instructions to get the adaptor working.


Installation and Configuration
==============================

1- Based on where you've installed the Oracle dependancies, modify the
   GNUmakefile so gnustep-make can find the location of Oracle's headers
   and client librairies. You would want to modify at least:

   ORACLE_VERSION
   -lnnz

2- Compile and install the adaptor:
   % make
   % make install 


Testing the Oracle Adaptor
==========================

The adaptor comes with a simple testing tool called 'otest'.

To try it, first modify the database connection parameters specified in the
'condict.plist' file.

Then, simply run the tool:

% ./obj/otest

This will do a simple "SELECT * FROM all_tables"


Current limitations
===================

The adaptor currently supports only the following data types:

 - CLOB
 - DATE
 - INTEGER
 - NUMBER
 - STRING
 - VARCHAR2

CLOB are read as strings.

The adaptor does not yet support the EOModel kungfu. The following
improvements are also coming soon:

 - primary key generation support
 - schema selection support
 - delegate calls, when required
 - more datatypes support