| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
| <HTML>
|
| <HEAD><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
| <title>Open Data Access</title>
|
| <style type="text/css">@import url("file:/D:/dev/eclipse_platform/eclipse_37/plugins/org.eclipse.sdk_3.7.0.v201106131736/book.css");</style>
|
| <style type="text/css">@import url("file:/D:/dev/eclipse_platform/eclipse_37/configuration/org.eclipse.osgi/bundles/624/1/.cp/schema.css");</style>
|
| </HEAD>
|
| <BODY>
|
| <H1 style="text-align:center">Open Data Access</H1>
|
| <p></p>
|
| <h6 class="CaptionFigColumn SchemaHeader">Identifier: </h6>org.eclipse.datatools.connectivity.oda.dataSource<p></p>
|
| <h6 class="CaptionFigColumn SchemaHeader">Since: </h6>3.0
|
| <p></p>
|
|
|
| <h6 class="CaptionFigColumn SchemaHeader">Description: </h6>[API] This extension point is used to support the extension of design-time and run-time data source access by a data application. Each extension must implement the Open Data Access (ODA) Java runtime interfaces defined in the <i>org.eclipse.datatools.connectivity.oda</i> package.<p></p>
|
| <h6 class="CaptionFigColumn SchemaHeader">Configuration Markup:</h6>
|
| <p></p>
|
| <p class="code SchemaDtd"><!ELEMENT <a name="e.extension">extension</a> (<a href="#e.dataSource">dataSource</a> , <a href="#e.dataSet">dataSet</a>+)></p>
|
| <p class="code SchemaDtd"><!ATTLIST extension</p>
|
| <p class="code SchemaDtdAttlist">point CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">id CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">name CDATA #IMPLIED</p>></p>
|
| <p></p>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| </ul>
|
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.dataSource">dataSource</a> (<a href="#e.traceLogging">traceLogging</a>? , <a href="#e.properties">properties</a>? , <a href="#e.relationship">relationship</a>*)></p>
|
| <p class="code SchemaDtd"><!ATTLIST dataSource</p>
|
| <p class="code SchemaDtdAttlist">id CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">odaVersion CDATA "3.0"</p><p class="code SchemaDtdAttlist">defaultDisplayName CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">driverClass CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">setThreadContextClassLoader (true | false) "false"</p><p class="code SchemaDtdAttlist">overrideExplorerFiltering (true | false) "false"</p>></p>
|
| <p></p>
|
| <p class="ConfigMarkupElementDesc">
|
| The definition of a type of ODA data source extension for use at design-time and run-time.</p>
|
| <br>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| <li><b>id</b> - A fully qualified ID that uniquely identifies this ODA data source extension within an ODA consumer application's environment. If a data source designer extension (that implements <i>org.eclipse.datatools.connectivity.oda.design.ui.dataSource</i> extension point) is available for this ODA driver, the value of this attribute must match that of the designer extension's <i>id</i> attribute in its data source element.</li>
|
| <li><b>odaVersion</b> - Version of the ODA interfaces for which this driver is developed. This element is required and should take the format of Major.Minor or Major.Minor.Service (e.g. 3.0 or 2.0.1).</li>
|
| <li><b>defaultDisplayName</b> - The display name of the ODA data source extension. Its value can be localized by using the plugin.properties mechanism. Default to the extension id if no display name is specified. |
| It can be used by an ODA consumer application's designer tool in displaying a list of ODA data source extensions, when they do not have a corresponding data source editor (data source UI extension point).</li>
|
| <li><b>driverClass</b> - Concrete class that implements the <i>org.eclipse.datatools.connectivity.oda.IDriver</i> interface. This is the entry point of the ODA runtime driver. The same driver may support multiple data source extensions.</li>
|
| <li><b>setThreadContextClassLoader</b> - If true, the consumer of the ODA runtime extension plug-in should set the thread context class loader to the one used to load this driver before calling any ODA interface method. |
| Any data source plug-in extension with this flag set to true would take precedence, and is applied to all data source extensions implemented by this plug-in. |
| <br> |
| If the thread context class loader being set is the OSGi class loader that was used to load this ODA runtime plugin, it is not designed to be used by a plugin to in turn load additional classes. If further class loading is needed, it is up to individual ODA runtime plugin implementation to provide its own URLClassLoader, and switch thread context class loader as appropriate.</li>
|
| <li><b>overrideExplorerFiltering</b> - Overrides the ODA extension explorer filtering behavior. Default value is false. If set to true, this extension is always made visible to the client even if it would have been excluded by the ODA extension explorer filtering. |
| <br>@since 3.2.2 (DTP 1.7.2)</li>
|
| </ul>
|
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.dataSet">dataSet</a> (<a href="#e.dataTypeMapping">dataTypeMapping</a>+ , <a href="#e.properties">properties</a>? , <a href="#e.relationship">relationship</a>?)></p>
|
| <p class="code SchemaDtd"><!ATTLIST dataSet</p>
|
| <p class="code SchemaDtdAttlist">id CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">defaultDisplayName CDATA #IMPLIED</p>></p>
|
| <p></p>
|
| <p class="ConfigMarkupElementDesc">
|
| The definition of a type of data set supported by the dataSource extension.</p>
|
| <br>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| <li><b>id</b> - A fully qualified ID that uniquely identifies this ODA data set definition within an ODA consumer application's environment.</li>
|
| <li><b>defaultDisplayName</b> - The display name of the ODA data set definition. Its value can be localized by using the plugin.properties mechanism. Default to its id if no display name is specified.</li>
|
| </ul>
|
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.dataTypeMapping">dataTypeMapping</a> (<a href="#e.alternativeOdaDataType">alternativeOdaDataType</a>*)></p>
|
| <p class="code SchemaDtd"><!ATTLIST dataTypeMapping</p>
|
| <p class="code SchemaDtdAttlist">nativeDataType CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">nativeDataTypeCode CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">odaScalarDataType (Date|Double|Integer|String|Time|Timestamp|Decimal|Blob|Clob|Boolean|JavaObject) "String"</p>></p>
|
| <p></p>
|
| <p class="ConfigMarkupElementDesc">
|
| A data types mapping from a data provider's native data type to one or more ODA data types. |
| Each native data type must be mapped to a primary ODA scalar data type. The driver can optionally provide a list of alternate ODA data types to which it is capable of converting a native data type. |
| This data type mapping facilitates all ODA consumers to map from the same set of ODA data types to its own application-specific data types.</p>
|
| <br>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| <li><b>nativeDataType</b> - Native data type name (a string). Used for information only.</li>
|
| <li><b>nativeDataTypeCode</b> - Native data type code (an integer). Its value must match one of the data type codes returned in the driver's ODA interface implementation.</li>
|
| <li><b>odaScalarDataType</b> - The primary ODA scalar data type to which the native type is mapped. Supported ODA data types are: Date, Double, Integer, String, Time, Timestamp, Decimal, Blob, Clob, Boolean and Java Object.</li>
|
| </ul>
|
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.alternativeOdaDataType">alternativeOdaDataType</a> EMPTY></p>
|
| <p class="code SchemaDtd"><!ATTLIST alternativeOdaDataType</p>
|
| <p class="code SchemaDtdAttlist">odaScalarDataType (Date|Double|Integer|String|Time|Timestamp|Decimal|Blob|Clob|Boolean|JavaObject) </p>></p>
|
| <p></p>
|
| <p class="ConfigMarkupElementDesc">
|
| Provide an alternative mapping to an ODA scalar data type.</p>
|
| <br>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| <li><b>odaScalarDataType</b> - The ODA scalar data type to which the native type may be converted by the driver.</li>
|
| </ul>
|
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.traceLogging">traceLogging</a> EMPTY></p>
|
| <p class="code SchemaDtd"><!ATTLIST traceLogging</p>
|
| <p class="code SchemaDtdAttlist">logLevel CDATA "WARNING"</p><p class="code SchemaDtdAttlist">logFileNamePrefix CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">logDirectory CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">logFormatterClass CDATA #IMPLIED</p>></p>
|
| <p></p>
|
| <p class="ConfigMarkupElementDesc">
|
| Configures the ODA run-time driver's trace logging settings for the data source extension. |
| The configured values are passed through to the driver's implementation of the <code>IDriver.setLogConfiguration</code> method. |
| <br>It is up to individual ODA driver on how to honor any of these trace logging attributes as appropriate. |
| |
| <br><br>Note: The trace logging configuration specified in the plug-in PDE .options file would take precedence over those configured in this element, if the debug tracing flag is set to "true". |
| <br>The ODA plug-in's PDE tracing options, listed below for cross reference, match the attributes of this element. |
| <br> |
| <plug-in Id>/debug = true/false |
| <br> |
| <plug-in Id>/traceLogging/logLevel |
| <br> |
| <plug-in Id>/traceLogging/logFileNamePrefix |
| <br> |
| <plug-in Id>/traceLogging/logDirectory |
| <br> |
| <plug-in Id>/traceLogging/logFormatterClass</p>
|
| <br>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| <li><b>logLevel</b> - The name or numeric value for the driver's log level. |
| <br>The log levels' names and corresponding numeric values are: |
| <br> |
| "SEVERE" = 1000; |
| "WARNING" = 900; |
| "INFO" = 800; |
| "CONFIG" = 700; |
| "FINE" = 500; |
| "FINER" = 400; |
| "FINEST" = 300; |
| "ALL" = 0; |
| "OFF" = 1001 or higher .</li>
|
| <li><b>logFileNamePrefix</b> - A string prefix for driver's log file name.</li>
|
| <li><b>logDirectory</b> - Directory for log file.</li>
|
| <li><b>logFormatterClass</b> - The class name of a concrete log formatter, suitable for use by the driver-specific logging utility.</li>
|
| </ul>
|
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.property">property</a> (<a href="#e.choice">choice</a>*)></p>
|
| <p class="code SchemaDtd"><!ATTLIST property</p>
|
| <p class="code SchemaDtdAttlist">name CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">defaultDisplayName CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">type (string|choice) "string"</p><p class="code SchemaDtdAttlist">canInherit (true | false) "true"</p><p class="code SchemaDtdAttlist">defaultValue CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">isEncryptable (true | false) "false"</p><p class="code SchemaDtdAttlist">allowsEmptyValueAsNull (true | false) "true"</p>></p>
|
| <p></p>
|
| <p class="ConfigMarkupElementDesc">
|
| A property whose value can be edited at design-time using an ODA consumer application's designer tool. Its value is then passed to the ODA runtime driver during run-time.</p>
|
| <br>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| <li><b>name</b> - Unique name of the property.</li>
|
| <li><b>defaultDisplayName</b> - The default display name. Its value can be localized by using the plugin.properties mechanism.</li>
|
| <li><b>type</b> - Type of the property. The property type could be one of the values listed in the Restriction enumerations.</li>
|
| <li><b>canInherit</b> - Reserved.</li>
|
| <li><b>defaultValue</b> - Default value of the property, if no property value is set.</li>
|
| <li><b>isEncryptable</b> - A flag indicating whether this property value is encryptable. Setting it to "true" indicates to an ODA consumer application that this property's value should be encrypted.</li>
|
| <li><b>allowsEmptyValueAsNull</b> - A flag that indicates whether an empty value of this property can be treated as a null value. Default value is true. This attribute setting applies when an ODA consumer passes the property's value to this ODA runtime driver. This optional attribute may be used to accommodate the case where a property value's input control does not provide the means to specify a null value.</li>
|
| </ul>
|
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.propertyGroup">propertyGroup</a> (<a href="#e.property">property</a>+)></p>
|
| <p class="code SchemaDtd"><!ATTLIST propertyGroup</p>
|
| <p class="code SchemaDtdAttlist">name CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">defaultDisplayName CDATA #IMPLIED</p>></p>
|
| <p></p>
|
| <p class="ConfigMarkupElementDesc">
|
| A grouping of one or more properties in an ODA consumer application's designer tool. The group attributes are for display only. All properties listed under a propertyGroup are handled as scalar properties at run-time.</p>
|
| <br>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| <li><b>name</b> - </li>
|
| <li><b>defaultDisplayName</b> - The default display name. Its value can be localized by using the plugin.properties mechanism.</li>
|
| </ul>
|
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.propertyVisibility">propertyVisibility</a> EMPTY></p>
|
| <p class="code SchemaDtd"><!ATTLIST propertyVisibility</p>
|
| <p class="code SchemaDtdAttlist">name CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">visibility (change|lock|hide) </p>></p>
|
| <p></p>
|
| <p class="ConfigMarkupElementDesc">
|
| Used to set the visibility level of the named property when it is shown in the property sheet of an ODA consumer application's designer tool.</p>
|
| <br>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| <li><b>name</b> - The name of a property that is defined either by this data source extension or is a system-defined property.</li>
|
| <li><b>visibility</b> - The valid options are: change, hide, lock.</li>
|
| </ul>
|
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.choice">choice</a> EMPTY></p>
|
| <p class="code SchemaDtd"><!ATTLIST choice</p>
|
| <p class="code SchemaDtdAttlist">name CDATA #REQUIRED</p><p class="code SchemaDtdAttlist">value CDATA #IMPLIED</p><p class="code SchemaDtdAttlist">defaultDisplayName CDATA #IMPLIED</p>></p>
|
| <p></p>
|
| <p class="ConfigMarkupElementDesc">
|
| Choice of property values.</p>
|
| <br>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| <li><b>name</b> - Name of the choice</li>
|
| <li><b>value</b> - Value to be used, if the given choice is selected.</li>
|
| <li><b>defaultDisplayName</b> - The default display name. Its value can be localized by using the plugin.properties mechanism.</li>
|
| </ul>
|
| <br><p class="code SchemaDtd"><!ELEMENT <a name="e.properties">properties</a> (<a href="#e.property">property</a>* , <a href="#e.propertyGroup">propertyGroup</a>* , <a href="#e.propertyVisibility">propertyVisibility</a>*)></p>
|
| <p></p>
|
| <p class="ConfigMarkupElementDesc">
|
| A collection of property definitions in a data source extension or its supported data set definitions.</p>
|
| <br><br>
|
| <p class="code SchemaDtd"><!ELEMENT <a name="e.relationship">relationship</a> EMPTY></p>
|
| <p class="code SchemaDtd"><!ATTLIST relationship</p>
|
| <p class="code SchemaDtdAttlist">type (replacedBy|wrapperOf) </p><p class="code SchemaDtdAttlist">relatedId CDATA #REQUIRED</p>></p>
|
| <p></p>
|
| <p class="ConfigMarkupElementDesc">
|
| An optional element to specify the relationship(s) of this element.</p>
|
| <br>
|
| <ul class="ConfigMarkupAttlistDesc">
|
| <li><b>type</b> - The type of relationship that this extension's dataSource or dataSet element has with the <i>relatedId</i> element. |
| Valid value(s) are: |
| <br>* <i>replacedBy</i>: specifies that this dataSource/dataSet is deprecated and replaced by that of <i>relatedId</i>. It is up to an ODA host to apply as appropriate, e.g. to migrate its reference of a deprecated extension, and to control which ODA extension to use at runtime. A deprecated data source type is hidden by default from the list of data sources presented in the ODA design UI framework, such as for creating a new connection profile instance. |
| <br>* <i>wrapperOf</i>: specifies that this dataSource/dataSet is a wrapper of the <i>relatedId</i> identifier. A wrapper data source type is hidden by default from the list of available data sources presented in the ODA design UI framework. Since: 3.1.2.</li>
|
| <li><b>relatedId</b> - The fully qualified ID of the related ODA data source or data set element. |
| Its value for a <i>replacedBy</i> type must match that of the corresponding <i>dataSource.id</i> or <i>dataSet.id</i> attribute defined in another ODA driver's <i>org.eclipse.datatools.connectivity.oda.dataSource</i> extension.</li>
|
| </ul>
|
| <br><h6 class="CaptionFigColumn SchemaHeader">Examples: </h6><p> |
| <pre class="Example"><span class="code SchemaTag"> |
| <extension |
| point=</span><span class="code SchemaCstring">"org.eclipse.datatools.connectivity.oda.dataSource"</span><span class="code SchemaTag">> |
| <dataSource |
| odaVersion=</span><span class="code SchemaCstring">"3.1"</span><span class="code SchemaTag"> |
| driverClass=</span><span class="code SchemaCstring">"org.eclipse.datatools.connectivity.oda.flatfile.FlatFileDriver"</span><span class="code SchemaTag"> |
| defaultDisplayName=</span><span class="code SchemaCstring">"Flat File Data Source"</span><span class="code SchemaTag"> |
| id=</span><span class="code SchemaCstring">"org.eclipse.datatools.connectivity.oda.flatfile"</span><span class="code SchemaTag"> |
| setThreadContextClassLoader=</span><span class="code SchemaCstring">"false"</span><span class="code SchemaTag">> |
| <properties> |
| <propertyGroup |
| defaultDisplayName=</span><span class="code SchemaCstring">"Connection Properties"</span><span class="code SchemaTag"> |
| name=</span><span class="code SchemaCstring">"connectionProperties"</span><span class="code SchemaTag">> |
| <property |
| type=</span><span class="code SchemaCstring">"string"</span><span class="code SchemaTag"> |
| defaultDisplayName=</span><span class="code SchemaCstring">"Home Folder"</span><span class="code SchemaTag"> |
| canInherit=</span><span class="code SchemaCstring">"true"</span><span class="code SchemaTag"> |
| name=</span><span class="code SchemaCstring">"HOME"</span><span class="code SchemaTag">/> |
| <property |
| type=</span><span class="code SchemaCstring">"string"</span><span class="code SchemaTag"> |
| defaultDisplayName=</span><span class="code SchemaCstring">"Character Set"</span><span class="code SchemaTag"> |
| canInherit=</span><span class="code SchemaCstring">"true"</span><span class="code SchemaTag"> |
| name=</span><span class="code SchemaCstring">"CHARSET"</span><span class="code SchemaTag">/> |
| <property |
| type=</span><span class="code SchemaCstring">"string"</span><span class="code SchemaTag"> |
| canInherit=</span><span class="code SchemaCstring">"true"</span><span class="code SchemaTag"> |
| defaultDisplayName=</span><span class="code SchemaCstring">"Includes Data Type (Yes/No)"</span><span class="code SchemaTag"> |
| name=</span><span class="code SchemaCstring">"INCLTYPELINE"</span><span class="code SchemaTag">/> |
| </propertyGroup> |
| </properties> |
| </dataSource> |
| <dataSet |
| defaultDisplayName=</span><span class="code SchemaCstring">"Flat File Data Set"</span><span class="code SchemaTag"> |
| id=</span><span class="code SchemaCstring">"org.eclipse.datatools.connectivity.oda.flatfile.dataSet"</span><span class="code SchemaTag">> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"BIT"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"-7"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Integer"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"TINYINT"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"-6"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Integer"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"SMALLINT"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"5"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Integer"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"INTEGER"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"4"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Integer"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"BIGINT"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"-5"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Decimal"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"FLOAT"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"6"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Double"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"REAL"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"7"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Double"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"DOUBLE"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"8"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Double"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"NUMERIC"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"2"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Decimal"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"DECIMAL"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"3"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Decimal"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"CHAR"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"1"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"String"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"VARCHAR"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"12"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"String"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"LONGVARCHAR"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"-1"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"String"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"DATE"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"91"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Date"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"TIME"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"92"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Time"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"TIMESTAMP"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"93"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Timestamp"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"BINARY"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"-2"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"String"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"VARBINARY"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"-3"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"String"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"LONGVARBINARY"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"-4"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"String"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"BOOLEAN"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"16"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"Boolean"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"BLOB"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"2004"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"String"</span><span class="code SchemaTag">/> |
| <dataTypeMapping |
| nativeDataType=</span><span class="code SchemaCstring">"CLOB"</span><span class="code SchemaTag"> |
| nativeDataTypeCode=</span><span class="code SchemaCstring">"2005"</span><span class="code SchemaTag"> |
| odaScalarDataType=</span><span class="code SchemaCstring">"String"</span><span class="code SchemaTag">/> |
| </dataSet> |
| </extension> |
| </span></pre> |
| </p>
|
| <p></p>
|
|
|
| <h6 class="CaptionFigColumn SchemaHeader">API Information: </h6>The data source extension's driver must implement the interfaces defined in the <i>org.eclipse.datatools.connectivity.oda</i> package. See the package's JavaDoc documentation and API interfaces for more information.
|
| <p></p>
|
|
|
| <h6 class="CaptionFigColumn SchemaHeader">Supplied Implementation: </h6>The ODA framework provides an ODA Plug-in Project Template Wizard to automatically generate a custom ODA plug-in project with a set of default implementation of the main ODA interfaces. The wizard is available in the New->Project... dialog; one for ODA Runtime Driver, another for ODA Designer. |
| <br> |
| Their generated implementation classes assume the behavior of a simple ODA driver and designer UI. They contain TODO task tags for an ODA driver developer to implement data source specific behavior. |
| These concrete classes are provided to aid in the development of a custom ODA data source. Their use is purely optional.
|
| <p></p>
|
|
|
| <br>
|
| <p class="note SchemaCopyright">
|
| Copyright (c) 2004-2009 Actuate Corporation. |
| All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html
|
|
|
| </p>
|
| </BODY>
|
| </HTML>
|