openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Fay Wang (JIRA)" <j...@apache.org>
Subject [jira] Created: (OPENJPA-745) Sybase by default silently truncation a string which is longer than the column length without raising an exception
Date Mon, 13 Oct 2008 22:37:44 GMT
Sybase by default silently truncation a string which is longer than the column length without
raising an exception 
-------------------------------------------------------------------------------------------------------------------

                 Key: OPENJPA-745
                 URL: https://issues.apache.org/jira/browse/OPENJPA-745
             Project: OpenJPA
          Issue Type: Bug
    Affects Versions: 1.2.0
            Reporter: Fay Wang
            Priority: Minor
             Fix For: 1.2.1, 1.3.0


By default, Sybase silently truncates a string which is longer than the column length without
raising an exception. To overwrite this behavior, string_rtruncation must be set on. In order
to be consistent with other databases, we will set string_rtruncation on as a default. If
the application wants to keep Sybase silent truncation behavior, it has to set this property
to false. A DBDictionary property "setStringRightTruncationOn" is instroduced so that application
can set it to false in the persistence.xml. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message