Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 90031 invoked from network); 16 Jul 2010 18:55:15 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 16 Jul 2010 18:55:15 -0000 Received: (qmail 50245 invoked by uid 500); 16 Jul 2010 18:55:15 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 50183 invoked by uid 500); 16 Jul 2010 18:55:14 -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 50175 invoked by uid 99); 16 Jul 2010 18:55:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 18:55:14 +0000 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.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 Jul 2010 18:55:11 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o6GIsn1Z007176 for ; Fri, 16 Jul 2010 18:54:50 GMT Message-ID: <30995676.424381279306489696.JavaMail.jira@thor> Date: Fri, 16 Jul 2010 14:54:49 -0400 (EDT) From: "Donald Woods (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-1724) Allow MappingTool to generate DDL SQL files in a different encoding than the local JVM In-Reply-To: <22107055.358101279052839034.JavaMail.jira@thor> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-1724?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated OPENJPA-1724: ---------------------------------- Attachment: OPENJPA-1724.diff New "-sqlEncode" or "-se" flag for MappingTool, which allows the user to specify a Java charset to use (like UTF-8), instead of the current JVM locale. Added new mapping sample under openjpa-examples which shows how to use MappingTool from an ANT task, along with two entities which one has normal ASCII characters and the other has Unicode escaped character to show the output differences when "-sqlEncode UTF-8" is used. > Allow MappingTool to generate DDL SQL files in a different encoding than the local JVM > -------------------------------------------------------------------------------------- > > Key: OPENJPA-1724 > URL: https://issues.apache.org/jira/browse/OPENJPA-1724 > Project: OpenJPA > Issue Type: Improvement > Components: jdbc, tooling > Affects Versions: 1.2.2, 1.3.0, 2.0.0 > Reporter: Donald Woods > Assignee: Donald Woods > Priority: Minor > Fix For: 2.1.0 > > Attachments: OPENJPA-1724.diff > > > Handle case where Java code is using UTF-8 encoded characters and we want the output DDL files to remain in UTF-8, instead of default to unicode UTF-16. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.