All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Allow calling with LOB got from DB, and don't copy it - see #135.
- Make it compile under Go 1.9.
- Upgrade to ODPI-C v3.1.3
- Use ODPI-C v3.1.1
- Make goracle.drv implement driver.DriverContext with OpenConnector.
- Use ODPI-C v3.1.1
- Use ODPI-C v3.1.0
- ISOLATION LEVEL READ COMMITTED (typo) fix.
- Use C.dpiAuthMode, C.dpiStartupMode, C.dpiShutdownMode instead of C.uint - for #129.
- Do not set empty SID from ORACLE_SID/TWO_TASK enviroment variables, leave it to ODPI.
- Allow PRELIM authentication to allow Startup and Shutdown.
- Don't call SET TRANSACTION if not really needed in BeginTx - if the isolation level hasn't changed.
- Implement RowsNextResultSet to return implicit result sets set by DBMS_SQL.return.
- Allow using heterogeneous pools with user set with ContextWithUserPassw.
- allow RETURNING with empty result set (such as UPDATE).
- Allow SELECT to return object types.
- fixed Number.MarshalJSON (see #112)'
- The default type for BLOB is []byte and for CLOB is a string - no need for ClobAsString() option.
- Fix the driver.Valuer handling, make it the last resort
- CallTimeout option to set a per-statement OCI_ATTR_CALL_TIMEOUT.
- Allow login with " AS SYSASM", as requested in #100.
- Hash the password ("SECRET-sasdas=") in ConnectionParams.String().
- WrapRows wraps a driver.Rows (such as a returned cursor from a stored procedure) as an sql.Rows for easier handling.
- Do not allow events by default, make them opt-in with EnableEvents connection parameter - see #98.
- Inherit parent statement's Options for statements returned as sql.Out.
- Update ODPI-C to v3.0.0.
- convert named types to their underlying scalar values - see #96, using MagicTypeConversion() option.
- Allow driver.Valuer as Query argument - see #94.
- use sergeymakinen/oracle-instant-client:12.2 docker for tests
- added ODPI-C and other licenses into LICENSE.md
- fill varInfo.ObjectType for better Object support
- add CHANGELOG
- check that
len(dest) == len(rows.columns)
inrows.Next(dest)
- after a Break, don't release a stmt, that may fail with SIGSEGV - see #84.
- noConnectionPooling option became standaloneConnection
- noConnectionPooling option to force not using a session pool
- use ODPI-C v2.4.2
- remove all logging/printing of passwords
- allow *int with nil value to be used as NULL
- allow ReadOnly transactions
- decrease maxArraySize to be compilable on 32-bit architectures.
- remove C struct size Printf
- fix liveness check in statement.Close
- sid -> service_name in docs
- travis: 1.10.3
- less embedding of structs, clearer API docs
- support RETURNING from DML
- set timeouts on poolCreateParams
- update ODPI-C to v2.4.0
- initialize context / load lib only on first Open, to allow import without Oracle Client installed
- use golangci-lint