openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Nowosatka (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OPENJPA-2000) Wrong PostgreSQL data type for REAL - "float8", must be "float4"
Date Thu, 21 Jul 2011 15:25:57 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-2000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jacob Nowosatka updated OPENJPA-2000:
-------------------------------------

    Attachment: OPENJPA-2000.patch

realTypeName changed to FLOAT4

> Wrong PostgreSQL data type for REAL - "float8", must be "float4"
> ----------------------------------------------------------------
>
>                 Key: OPENJPA-2000
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2000
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc, sql
>    Affects Versions: 2.1.0
>         Environment: PostgreSQL
>            Reporter: Stanislav Mironov
>         Attachments: OPENJPA-2000.patch
>
>   Original Estimate: 5m
>  Remaining Estimate: 5m
>
> In PostgresDictionary type names for SQL REAL and DOUBLE types are specified as:
>         realTypeName = "FLOAT8";
>         doubleTypeName = "DOUBLE PRECISION";
> From PostgreSQL manual:
> double precision: float8, double precision floating-point number (8 bytes)
> real: float4, single precision floating-point number (4 bytes)
> realTypeName must be "FLOAT4".

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message