Added row prefetch configurations

Added configuration options for row and memory pre-fetch as well as safe
defaults.  The defaults can be overridden using environment variables.
Adding OCI column indicator and handling NULLS

Signed-off-by: Sheena McCoy <sp.mccoy@modcloth.com>
Adding string truncating logic

To get rid of Oracle byte padding.

Signed-off-by: Sheena McCoy <sp.mccoy@modcloth.com>
Removing whitespace

Signed-off-by: Sheena McCoy <sp.mccoy@modcloth.com>
Fixed indp data type

As OCI wasn't handling int.

Signed-off-by: Sheena McCoy <sp.mccoy@modcloth.com>
Added handling of Date column type

Now handling VARCHAR2 and DATE as well as making it more straight
forward to add other type handling in the future

Signed-off-by: Sheena McCoy <sp.mccoy@modcloth.com>
Added handling of SQLT_NUM

Signed-off-by: Sheena McCoy <sp.mccoy@modcloth.com>
Fixing transaction logic to use OCI8 API

Signed-off-by: Sheena McCoy <sp.mccoy@modcloth.com>
Using local timezone rather than UTC
Merge pull request #2 from modcloth/add_prefetch_attributes

Added row prefetch configurations
Handling datetimes when binding

Signed-off-by: Adam Kalnas <a.kalnas@modcloth.com>
Handling nulls when binding in prepared statements

Was previously serializing them as the string '<nil>'.
Signed-off-by: Adam Kalnas <a.kalnas@modcloth.com>
Merge pull request #3 from modcloth/handle-datetimes-and-null-in-prepared-statements

Handle datetimes and null in prepared statements
Refactoring DSN parsing

Also parsing location (expects to see it as loc in parameters)

Signed-off-by: Adam Kalnas <a.kalnas@modcloth.com>
Utilizing dsn location

To translate times to when writing and to set as location when reading
times.

Signed-off-by: Adam Kalnas <a.kalnas@modcloth.com>
Splat host, port, sid together for Oracle connection

Signed-off-by: Adam Kalnas <a.kalnas@modcloth.com>
Free bound parameters after Execute() is called

Previously the paremeters had the oppurtunity to be garbage collected
before Execute() was run because they were locally scoped in the bind()
function. Now we create CStrings and pass pointers to them to
OCIBindByPos and return these parameters to the caller to be free'd
after the Execute method is called and parameters used.

Also refactored nil type check to be part of the general type switch.

Signed-off-by: Sheena McCoy <sp.mccoy@modcloth.com>
Removing redundant QueryUnescape

Also simplifying switch statement to not also include assignment.

Signed-off-by: Sheena McCoy <sp.mccoy@modcloth.com>
Adding documentation to ParseDSN about the format of the DSN
Merge pull request #4 from modcloth/inject-timezone

Inject timezone