Return-Path: Delivered-To: apmail-openjpa-users-archive@locus.apache.org Received: (qmail 23465 invoked from network); 16 Oct 2008 18:34:59 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 Oct 2008 18:34:59 -0000 Received: (qmail 31726 invoked by uid 500); 16 Oct 2008 18:35:00 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 31707 invoked by uid 500); 16 Oct 2008 18:35:00 -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 31693 invoked by uid 99); 16 Oct 2008 18:35:00 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 11:35:00 -0700 X-ASF-Spam-Status: No, hits=-0.3 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_SOFTFAIL X-Spam-Check-By: apache.org Received-SPF: softfail (athena.apache.org: transitioning domain of fern@alum.mit.edu does not designate 66.111.4.27 as permitted sender) Received: from [66.111.4.27] (HELO out3.smtp.messagingengine.com) (66.111.4.27) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Oct 2008 18:33:52 +0000 Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id 54EF0180EF3 for ; Thu, 16 Oct 2008 14:34:29 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 16 Oct 2008 14:34:29 -0400 X-Sasl-enc: Cn9V3vJdr9rr5uQn+oGC+ICoSg6KY73e1BCrwye0HWVx 1224182069 Received: from [10.0.7.180] (unknown [63.202.1.94]) by mail.messagingengine.com (Postfix) with ESMTPSA id F304E27476 for ; Thu, 16 Oct 2008 14:34:28 -0400 (EDT) Message-ID: <48F78934.1020900@alum.mit.edu> Date: Thu, 16 Oct 2008 11:34:28 -0700 From: Fernando Padilla User-Agent: Thunderbird 2.0.0.17 (X11/20080925) MIME-Version: 1.0 To: users@openjpa.apache.org Subject: Default Table/Column Naming conventions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I am trying to figure out how to override the default naming conventions used by OpenJPA, to be more consistent with the schema we currently have (generated by old kodo): - all caps - append a 0 if it's a reserved word - append a counter if multiple columns of same name ( embedded ) I bet the documentation has it, but I'm not quite sure what to search for. Any leads would be greatly appreciated!