[
https://issues.apache.org/jira/browse/OPENJPA-2971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18109484#comment-18109484
]
ASF subversion and git services commented on OPENJPA-2971:
----------------------------------------------------------
Commit dc3ed73d19042aa1a0033fea495ada7329af7077 in openjpa's branch
refs/heads/master from Paulo Cristovão de Araújo Silva Filho
[ https://gitbox.apache.org/repos/asf?p=openjpa.git;h=dc3ed73d1 ]
Merge pull request #163 from apache/OPENJPA-2971
[OPENJPA-2971] Make PostgreSQL StoreCharsAsNumbers default overridable and
release-note it
> 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
> Priority: Major
> 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)