Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] CHECKIN: [151788] Added native data type in ODA design hints to the DtE runtime odaconsumer

Title: CHECKIN: [151788] Added native data type in ODA design hints to the DtE runtime odaconsumer

Summary:
Added native data type in ODA design hints to the DtE runtime odaconsumer

Bugzilla Entry(ies) Resolved:
151788 - partial , 152665

Description:
Some ODA runtime drivers are not able to obtain sufficient metadata on its parameters and result set column.   Such metadata is thus needed to be collected at design time, for use by the BIRT ODA consumer at runtime.   For example, the native data type of a parameter and column is often needed, but is not currently available to the odaconsumer in the Data Engine API runtime hints.  
This enhancement involves adding the native data type to the Data Engine API, and passing through its value from the DtE API implementation to the ODA consumer.

Also added support of mapping ODA Time and Timestamp types to a BIRT Datetime type.

Tests Description:
Junit tests.

Notes to Build Team:
None.

Notes to Developers:
None.

Notes to QA:
None.

Notes to Documentation:
None.

Files Edited:
CVS:/cvsroot/birt/source/
org.eclipse.birt.data/
        src/org/eclipse/birt/data/engine/api/
                IColumnDefinition.java
                IParameterDefinition.java
        src/org/eclipse/birt/data/engine/api/querydefn/
                ColumnDefinition.java
                ParameterDefinition.java
        src/org/eclipse/birt/data/engine/impl/
                ParameterUtil.java
                PreparedOdaDSQuery.java
                UserDefinedParamMetaData.java
        src/org/eclipse/birt/data/engine/odi/
                IDataSourceQuery.java
        src/org/eclipse/birt/data/engine/executor/
                DataSource.java
                DataSourceAndDataSet.java
                DataSourceQuery.java
        src/org/eclipse/birt/data/engine/odaconsumer/
                ColumnHint.java
                DataTypeUtil.java
                Driver.java
                DriverManager.java
                ParameterHint.java
                ParameterMetaData.java
                PreparedStatement.java
                ProjectedColumns.java
                ResultSetMetaData.java

        test/org/eclipse/birt/data/engine/odaconsumer/
                DriverManagerTest.java
                PreparedStatementTest.java
                ProjectedColumnsTest.java
                ResultSetTest.java

org.eclipse.birt.report.data.adapter/
        src/org.eclipse.birt.report.data.adapter/impl/
                ResultSetColumnDefinition.java

org.eclipse.birt.core/
        src/org/eclipse/birt/core/data/
                DataTypeUtil.java
        test/org/eclipse/birt/core/data/
                DataTypeUtilTest.java

Files Added:
org.eclipse.birt.data/
        test/org/eclipse/birt/data/engine/odaconsumer/
                ParamAndColumnHintTest.java

Files Deleted:
None.


Back to the top