Maxim Solodovnik created OPENJPA-2971:
-----------------------------------------

             Summary: storeCharsAsNumbers default flip breaks existing schemas
                 Key: OPENJPA-2971
                 URL: https://issues.apache.org/jira/browse/OPENJPA-2971
             Project: OpenJPA
          Issue Type: Sub-task
          Components: jpa
    Affects Versions: 4.2.0
            Reporter: Maxim Solodovnik
             Fix For: 4.2.0


Discussion thread: 
https://github.com/apache/openjpa/pull/144#discussion_r3683003316


**(medium)** Flipping `storeCharsAsNumbers` to false for PostgreSQL >= 9 
changes the default mapping for existing applications: char fields previously 
stored in INTEGER columns will now map/validate as CHAR, so schemas created by 
older OpenJPA versions fail validation or read wrongly after an upgrade. 
Intended compatibility break? Should be release-noted and overridable.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to