Repository navigation
oracle-native 0.2.0
oracle-native 0.2.0 speaks the 23.4 version of Oracle's TTC protocol and reads and writes the newer types: JSON (21c), VECTOR and BOOLEAN (23ai). It also sets end-to-end attributes for monitoring.
"dependencies": {
"oracle-native": "~>0.2.0"
}Tested on Oracle Database 23ai Free, 21c XE and 18c XE; D frontend 2.097 and newer; vibe-core 1.22 to 2.x. A ddbc driver for oracle-native is in ddbc 0.10.0 (configuration ORACLE).
Added
- Newer types and the 23.4 protocol (#7): the client now speaks TTC field
version 24 (23.4; 21c negotiates 16, 18c 11).JSONcolumns (21c) are
decoded from Oracle's binary JSON (OSON) to their text, as
JSON_SERIALIZEwrites it, andValue.getJsongives astd.jsonvalue.
VECTORcolumns (23ai) read asVector(FLOAT32, FLOAT64, INT8, BINARY,
sparse;getVector, text asFROM_VECTORwrites it), andVector,
float[]anddouble[]parameters are sent as VECTOR.BOOLEANcolumns
arrive natively, andboolparameters are sent asBOOLEANto 23ai
(NUMBER1/0 to older servers), also for PL/SQLBOOLEANparameters. - Column metadata of 23ai: SQL domain, annotations, VECTOR dimensions and
format;isJson/isOsonflags (ColumnInfo). - End-to-end attributes:
Connection.moduleName,action,
clientIdentifier,clientInfo,dbOp, sent with the next call.
Fixed
- Queries with a
JSONcolumn failed with ORA-01002.
Full changelog: v0.1.0...v0.2.0