You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Christoph Ewerlin (JIRA)" <ji...@apache.org> on 2015/11/06 14:40:27 UTC
[jira] [Updated] (OPENJPA-2612) trimStringColumns in DB2Dictionary
does not work as expected
[ https://issues.apache.org/jira/browse/OPENJPA-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Christoph Ewerlin updated OPENJPA-2612:
---------------------------------------
Affects Version/s: 2.2.1
Component/s: sql
kernel
docs
> trimStringColumns in DB2Dictionary does not work as expected
> ------------------------------------------------------------
>
> Key: OPENJPA-2612
> URL: https://issues.apache.org/jira/browse/OPENJPA-2612
> Project: OpenJPA
> Issue Type: Bug
> Components: docs, kernel, sql
> Affects Versions: 2.2.1
> Reporter: Christoph Ewerlin
>
> Doku (http://openjpa.apache.org/builds/2.2.1/apache-openjpa/docs/ref_guide_dbsetup_dbsupport.html) states:
> TrimStringColumns: When true, the resulting String from ResultSet.getString will be trimmed of trailing white space. Defaults to false.
> Instead of String.rtrim() the implementation calls String.trim() and removes leading whitespaces as well.
> Please fix documentation and if possible add an additional property RTrimStringColumns which only trims trailing whitespaces.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)