Oracle Database SQL DDL Script - Export - Cloud

Talend Cloud Data Catalog Bridges

author
Talend Documentation Team
EnrichVersion
Cloud
EnrichProdName
Talend Cloud
EnrichPlatform
Talend Data Catalog

Bridge Specifications

Vendor Oracle
Tool Name Oracle Database
Tool Version 6i to 19c
Tool Web Site http://www.oracle.com/database
Supported Methodology [Relational Database] Data Store (Physical Data Model), (Expression Parsing) via TXT Export File

SPECIFICATIONS
Tool: Oracle / Oracle Database version 6i to 19c via TXT Export File
See http://www.oracle.com/database
Metadata: [Relational Database] Data Store (Physical Data Model), (Expression Parsing)
Component: DDLOracle version 11.0.0

OVERVIEW
This bridge generates SQL DDL for the Oracle database.

REQUIREMENTS
n/a

FREQUENTLY ASKED QUESTIONS
n/a

LIMITATIONS
Refer to the current general known limitations at http://metaintegration.com/Products/MIMB/MIMBKnownLimitations.html or bundled in Documentation/ReadMe/MIMBKnownLimitations.html

SUPPORT
Provide a trouble shooting package with:
- the debug log (can be set in the UI or in conf/conf.properties with MIR_LOG_LEVEL=6)
- the metadata backup if available (can be set in the Miscellaneous parameter with option -backup)


Bridge Parameters

Parameter Name Description Type Values Default Scope
File The generated SQL DDL file which must have a '.sql' or '.ddl' extension. FILE
*.sql
*.ddl
  Mandatory
Miscellaneous INTRODUCTION
Specify miscellaneous options starting with a dash and optionally followed by parameters, e.g.
-connection.cast MyDatabase1="SQL Server"
Some options can be used multiple times if applicable, e.g.
-connection.rename NewConnection1=OldConnection1 -connection.rename NewConnection2=OldConnection2;
As the list of options can become a long string, it is possible to load it from a file which must be located in ${MODEL_BRIDGE_HOME}\data\MIMB\parameters and have the extension .txt. In such case, all options must be defined within that file as the only value of this parameter, e.g.
ETL/Miscellaneous.txt

JAVA ENVIRONMENT OPTIONS
-java.memory <Java Memory's maximum size> (previously -m)
1G by default on 64bits JRE or as set in conf/conf.properties, e.g.
-java.memory 8G
-java.memory 8000M

-java.parameters <Java Runtime Environment command line options> (previously-j)
This option must be the last one in the Miscellaneous parameter as all the text after -java.parameters is passed "as is" to the JRE, e.g.
-java.parameters -Dname=value -Xms1G
The following option must be set when a proxy is used to access internet (this is critical to access https://repo.maven.apache.org/maven2/ (and exceptionally a few other tool sites) in order to download the necessary third party software libraries.
-java.parameters -Dhttp.proxyHost=127.0.0.1 -Dhttp.proxyPort=3128 -Dhttps.proxyHost=127.0.0.1 -Dhttps.proxyPort=3128 -Dhttp.proxyUser=user -Dhttp.proxyPassword=pass -Dhttps.proxyUser=user -Dhttps.proxyPassword=pass

-java.executable <Java Runtime Environment full path name> (previously -jre)
It can be an absolute path to javaw.exe on Windows or a link/script path on Linux, e.g.
-java.executable "c:\Program Files\Java\jre1.8.0_211\bin\javaw.exe"

-environment.variable <Environment variable value> (previously -v)
None by default, e.g.
-environment.variable var1=value1 -environment.variable var2="value2 with spaces"

OTHER OPTIONS
-e <encoding>
This value will be used to load text from the specified script files. By default, UTF-8 will be used. E.g.
-e UTF-16
-e UTF-16BE
-e US-ASCII
-e ISO-8859-1

-p <warehouse path>
Warehouse path. /user/hive/warehouse by default. E.g.
-p /user/hive/temp
STRING      

 

Bridge Mapping

Meta Integration Repository (MIR)
Metamodel
(based on the OMG CWM standard)
"Oracle Database SQL DDL Script"
Metamodel
DDL
Mapping Comments
     
AssociationRoleNameMap Foreign Key The AssociationRoleNameMap uses for export if available
DesignLevel   The object doesn't exports if this property set to 'Logical only'
PhysicalName ForeignKey.Name  
Attribute Column The database table column exports with max length validation. The length value is different for supported databases
DesignLevel   The object doesn't exports if this property set to 'Logical only'
PhysicalName Column.Name  
BaseType Type The database table column type exports accord to the native database types
DataType   See datatype conversion array
DesignLevel   The object doesn't exports if this property set to 'Logical only'
PhysicalName Column.Type.Name  
CandidateKey Primary Key A primary candidate key is created for columns part of their table's primary key
DesignLevel   The object doesn't exports if this property set to 'Logical only'
PhysicalName PrimaryKey.Name  
Class Table  
DesignLevel   The object doesn't exports if this property set to 'Logical only'
PhysicalName Table.Name  
DatabaseSchema Schema  
DesignLevel   The object doesn't exports if this property set to 'Logical only'
PhysicalName Schema.Name  
ForeignKey Foreign Key, Alternate Key, Unique Index If the attributes in referenced table from the Foreign Key definition doesn't belongs to a Primary Key, the Alternate Key will generated. For Teradata database the attributes may belong to an Unique Index instead the Primary Key or the Alternate Key
DesignLevel   The object doesn't exports if this property set to 'Logical only'
PhysicalName ForeignKey.Name  
Index Index The Clustered and Unique options are supported
DesignLevel   The object doesn't exports if this property set to 'Logical only'
PhysicalName Index.Name  
IndexMember Index The IndexMember uses for the Index export
SQLViewAttribute Column The View Column
SQLViewEntity View If the source Model contains a database native SQL View statement - the statement will used in generated DDL. If not - the View structure only and related list tables will exported
StoreModel Comment The Comment with the source model name, selected database syntax and timestamp will generated
Name Comment.Text