Return-Path: X-Original-To: apmail-openjpa-users-archive@minotaur.apache.org Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2DF68D3D9 for ; Thu, 21 Jun 2012 14:10:02 +0000 (UTC) Received: (qmail 63399 invoked by uid 500); 21 Jun 2012 14:10:01 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 63356 invoked by uid 500); 21 Jun 2012 14:10:01 -0000 Mailing-List: contact users-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@openjpa.apache.org Delivered-To: mailing list users@openjpa.apache.org Received: (qmail 63348 invoked by uid 99); 21 Jun 2012 14:10:01 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2012 14:10:01 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of mike.goldner@gmail.com designates 209.85.160.46 as permitted sender) Received: from [209.85.160.46] (HELO mail-pb0-f46.google.com) (209.85.160.46) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 21 Jun 2012 14:09:53 +0000 Received: by pbbrp8 with SMTP id rp8so2375955pbb.33 for ; Thu, 21 Jun 2012 07:09:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:date:subject:from:to:message-id:thread-topic :mime-version:content-type; bh=N1EHtJunFLpAOIVulQ8D5+2kcl3S/6BT2Ogofp2+wVI=; b=m7LZzyNsLOWx9ApDSEA/u6pOjMzhIIDG6DlBJmfUDYs2TRjAXIAlAivj2lniPQA9bI EyyhZ7Z9gKF8wuz5EwU50KGkc56MCz9uVFe7GSSZFwS+ezv1UJ/IjIVsYMYaCUynh52M OfLNRHsEnMl0LVZMKTzYD9g8FpKI/Sk+HXN69Ph1m75ld6xFo8ewdLIoSQphMBY4vdeD pgbL8Bl5Z7cnf0kyZowlCkPvIAt+yQxqGADzUOiAJENx8aPRDstVza9mlf73ARVLtfaG Nfo+NCOFZNLZH0b4ld61GVoadbNGKu1ioK64Abn0x63fBw6IPSScbF3oePTQfswu+7d0 eOMQ== Received: by 10.68.222.40 with SMTP id qj8mr64989064pbc.139.1340287773160; Thu, 21 Jun 2012 07:09:33 -0700 (PDT) Received: from [192.168.67.99] (74-92-47-81-NewEngland.hfc.comcastbusiness.net. [74.92.47.81]) by mx.google.com with ESMTPS id nv6sm35792422pbc.42.2012.06.21.07.09.30 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 21 Jun 2012 07:09:31 -0700 (PDT) User-Agent: Microsoft-MacOutlook/14.2.2.120421 Date: Thu, 21 Jun 2012 10:09:25 -0400 Subject: Problems with MappingTool runtime synchronization and Turkish locale From: Mike Goldner To: Message-ID: Thread-Topic: Problems with MappingTool runtime synchronization and Turkish locale Mime-version: 1.0 Content-type: multipart/alternative; boundary="B_3423118170_63273488" X-Virus-Checked: Checked by ClamAV on apache.org --B_3423118170_63273488 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit I have an issue with the MappingTool when the computer locale is set to Turkish. This is a pretty well known locale quirk and I see that a "sqlEncode" flag was added to MappingTool to support a locale different from the default. Unfortunately, when runtime synchronization is configured in the persistence.xml (via the "openjpa.jdbc.SynchronizeMappings" property), it doesn't seem possible to provide the "sqlEncode" flag and MappingTool throws an exception caused by the Turkish locale toUpper/toLower issue. Is there some other way to force UTF-8 (or ENGLISH) at the OpenJPA level when using runtime synchronization? Thanks, Mike Goldner --B_3423118170_63273488--