You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Arseni Bulatski (JIRA)" <ji...@apache.org> on 2019/06/24 15:18:00 UTC

[jira] [Updated] (CAY-2586) Char can't be materialized to EnumType in some cases

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

Arseni Bulatski updated CAY-2586:
---------------------------------
    Description: 
Test case:

DbEntity has char attribute with max size.

ObjEntity has enum attribute mapped to char column.

Bug appears when trying to select this entity because no RTRIM was added to this select.

 

  was:
Test case:

DbEntity has char attribute with max size.

ObjEntity has enum attribute mapped to char column.

Bug appears when trying to select this entity because no RTRIM added to this select.

 


> Char can't be materialized to EnumType in some cases
> ----------------------------------------------------
>
>                 Key: CAY-2586
>                 URL: https://issues.apache.org/jira/browse/CAY-2586
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 4.0.1, 4.1.B2
>            Reporter: Arseni Bulatski
>            Priority: Major
>             Fix For: 4.0.2, 4.1.B3
>
>
> Test case:
> DbEntity has char attribute with max size.
> ObjEntity has enum attribute mapped to char column.
> Bug appears when trying to select this entity because no RTRIM was added to this select.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)