From e3cc613dfbe0bf09367d2f3c2df569cd31672add Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 31 Jul 2023 17:27:50 +0300 Subject: [PATCH] Fixed oracle number type conversion --- types/numeric.json | 127 ++++++++++++++++++++++++++------------------- 1 file changed, 73 insertions(+), 54 deletions(-) diff --git a/types/numeric.json b/types/numeric.json index 73ac2b9..46463a5 100644 --- a/types/numeric.json +++ b/types/numeric.json @@ -1,56 +1,75 @@ { - "name": "numeric", - "erdAbbreviation": "", - "dtdAbbreviation": "{123}", - "useSample": true, - "defaultValues": { - "primaryKey": false, - "relationshipType": "", - "parentRelationship": "", - "childRelationships": [], - "foreignCollection": "", - "foreignField": [], - "default": "", - "mode": "", - "unit": "", - "minimum": "", - "exclusiveMinimum": false, - "maximum": "", - "exclusiveMaximum": false, - "multipleOf": "", - "divisibleBy": "", - "enum": [], - "sample": "" - }, - "descriptor": [{ - "schema": { - "mode": "int32" - }, - "capacity": 4 - }, { - "schema": { - "mode": "int64" - }, - "capacity": 8 - }, { - "schema": { - "mode": "double" - }, - "capacity": 8 - }, { - "schema": { - "mode": "int64" - }, - "mode": "long" - }, { - "schema": { - "mode": "double" - }, - "mode": "decimal" - }, { - "schema": { - "mode": "double" - }, - "mode": "floating" - }] + "name": "numeric", + "erdAbbreviation": "", + "dtdAbbreviation": "{123}", + "useSample": true, + "defaultValues": { + "primaryKey": false, + "relationshipType": "", + "parentRelationship": "", + "childRelationships": [], + "foreignCollection": "", + "foreignField": [], + "default": "", + "mode": "", + "unit": "", + "minimum": "", + "exclusiveMinimum": false, + "maximum": "", + "exclusiveMaximum": false, + "multipleOf": "", + "divisibleBy": "", + "enum": [], + "sample": "" + }, + "descriptor": [ + { + "schema": { + "mode": "int32" + }, + "capacity": 4 + }, + { + "schema": { + "mode": "int32" + }, + "mode": "smallint" + }, + { + "schema": { + "mode": "int32" + }, + "mode": "integer" + }, + { + "schema": { + "mode": "int64" + }, + "capacity": 8 + }, + { + "schema": { + "mode": "double" + }, + "capacity": 8 + }, + { + "schema": { + "mode": "int64" + }, + "mode": "long" + }, + { + "schema": { + "mode": "double" + }, + "mode": "decimal" + }, + { + "schema": { + "mode": "double" + }, + "mode": "floating" + } + ] }