[ 
https://issues.apache.org/jira/browse/TRAFODION-2269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15942558#comment-15942558
 ] 

luoyunpeng commented on TRAFODION-2269:
---------------------------------------

>>create table test1(id float(5));

--- SQL operation complete.
>>showddl test1;

CREATE TABLE TRAFODION.QA_JDBC.TEST1
  (
    ID                               DOUBLE PRECISION DEFAULT NULL NOT
      SERIALIZED
  )
 ATTRIBUTES ALIGNED FORMAT
;

-- GRANT SELECT, INSERT, DELETE, UPDATE, REFERENCES ON TRAFODION.QA_JDBC.TEST1 
TO DB__ROOT WITH GRANT OPTION;

--- SQL operation complete.

> use JDBC to test getObject API from float type in database error
> ----------------------------------------------------------------
>
>                 Key: TRAFODION-2269
>                 URL: https://issues.apache.org/jira/browse/TRAFODION-2269
>             Project: Apache Trafodion
>          Issue Type: Bug
>          Components: client-jdbc-t4
>    Affects Versions: 2.1-incubating
>         Environment: cenos7,jdbcT4-2.2.0,
>            Reporter: luoyunpeng
>
> when used JDBC getObject API  to get object from float field in database, 
> expected:float, but the result was double,



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to