From 0ebf363f232803e5ca4ee4eeacfb5f494f7ab409 Mon Sep 17 00:00:00 2001 From: xuatiknc Date: Mon, 17 Oct 2016 03:10:49 -0400 Subject: [PATCH] Fixed TRANSREL-66 (Oracle part). --- ddl/oracle/biomart_user/_misc.sql | 29 +++++++++++++++++++++++++++++ ddl/oracle/biomart_user/items.json | 14 ++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/ddl/oracle/biomart_user/_misc.sql b/ddl/oracle/biomart_user/_misc.sql index dee7e5b2..30f06672 100644 --- a/ddl/oracle/biomart_user/_misc.sql +++ b/ddl/oracle/biomart_user/_misc.sql @@ -10,3 +10,32 @@ CREATE OR REPLACE TYPE "BIOMART_USER"."PATIENTS_TAB" IS TABLE OF NUMBER(10,0) / +-- +-- Type: TABLE; Owner: BIOMART_USER; Name: SESSION_MULTISETS_OF_INTEGERS +-- +CREATE GLOBAL TEMPORARY TABLE SESSION_MULTISETS_OF_INTEGERS ( + ID NUMBER(38,0), + MID NUMBER(10,0) NOT NULL +) ON COMMIT PRESERVE ROWS; +-- +-- Lock statistics +-- +begin + dbms_stats.lock_table_stats('BIOMART_USER', 'SESSION_MULTISETS_OF_INTEGERS'); +end; +/ + +-- +-- Type: TABLE; Owner: BIOMART_USER; Name: SESSION_MULTISETS_OF_STRINGS +-- +CREATE GLOBAL TEMPORARY TABLE SESSION_MULTISETS_OF_STRINGS ( + ID VARCHAR2(4000), + MID NUMBER(10,0) NOT NULL +) ON COMMIT PRESERVE ROWS; +-- +-- Lock statistics +-- +begin + dbms_stats.lock_table_stats('BIOMART_USER', 'SESSION_MULTISETS_OF_STRINGS'); +end; +/ diff --git a/ddl/oracle/biomart_user/items.json b/ddl/oracle/biomart_user/items.json index d3b69467..b11dda23 100644 --- a/ddl/oracle/biomart_user/items.json +++ b/ddl/oracle/biomart_user/items.json @@ -5442,6 +5442,20 @@ "name" : "GENE_ONTOLOGY_DATA" }, "file" : "biomart_user/gene_ontology_data.sql" + }, { + "item" : { + "type" : "TABLE", + "owner" : "BIOMART_USER", + "name" : "SESSION_MULTISETS_OF_INTEGERS" + }, + "file" : "biomart_user/_misc.sql" + }, { + "item" : { + "type" : "TABLE", + "owner" : "BIOMART_USER", + "name" : "SESSION_MULTISETS_OF_STRINGS" + }, + "file" : "biomart_user/_misc.sql" }, { "item" : { "type" : "INDEX",