Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 57308 invoked from network); 13 Oct 2008 22:38:05 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Oct 2008 22:38:05 -0000 Received: (qmail 54646 invoked by uid 500); 13 Oct 2008 22:38:05 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 54488 invoked by uid 500); 13 Oct 2008 22:38:05 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 54477 invoked by uid 99); 13 Oct 2008 22:38:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 15:38:05 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 13 Oct 2008 22:37:07 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 3C1D5234C217 for ; Mon, 13 Oct 2008 15:37:44 -0700 (PDT) Message-ID: <2022575993.1223937464241.JavaMail.jira@brutus> Date: Mon, 13 Oct 2008 15:37:44 -0700 (PDT) From: "Fay Wang (JIRA)" To: dev@openjpa.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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org 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.