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

ASF subversion and git services commented on OPENJPA-2944:
----------------------------------------------------------

Commit 1fb1580beb2361828f7611c3ff105232b077f1bf in openjpa's branch 
refs/heads/OPENJPA-2944 from Richard Zowalla
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=1fb1580be ]

[OPENJPA-2944] Rename the rank attribute of the converter test entity

RANK is a reserved word since MySQL 8.0 (window function), so creating
the table of ConvertedColumnTypeEntity failed on MySQL 8.4 and 9.x.
The attribute is now called rating; the other column names are no
reserved words on MySQL 8.4 or 9.7.


> Inconsistent column type conversion when using AttributeConverter
> -----------------------------------------------------------------
>
>                 Key: OPENJPA-2944
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2944
>             Project: OpenJPA
>          Issue Type: Bug
>          Components: jdbc
>    Affects Versions: 4.1.0
>         Environment: Postgresql
>            Reporter: Guenter Windsperger
>            Priority: Minor
>
> When using an AttributeConverter the resulting expression is always of type 
> `bytea` instead of the respective declared converter type e.g. bigint for 
> Long.
> This can be observed with the existing Test `TestExternalValues`, where both 
> UUID properties, one converted with the custom Externalizer API, the other 
> with the standard Converter API, produce different column types.
> I am happy to provide some PR if someone could point me to the potential root 
> cause.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to