Return-Path: Delivered-To: apmail-openjpa-users-archive@minotaur.apache.org Received: (qmail 9854 invoked from network); 24 Apr 2009 16:25:47 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Apr 2009 16:25:47 -0000 Received: (qmail 68045 invoked by uid 500); 24 Apr 2009 16:25:46 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 67977 invoked by uid 500); 24 Apr 2009 16:25:46 -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 Delivered-To: moderator for users@openjpa.apache.org Received: (qmail 66200 invoked by uid 99); 24 Apr 2009 05:54:51 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Date: Fri, 24 Apr 2009 07:54:12 +0200 From: To: X-Mailer: Centrum Mail 5.0 MIME-Version: 1.0 X-Priority: 3 Message-ID: <200904240754.25721@centrum.cz> References: <200904240745.2141@centrum.cz> <200904240746.20925@centrum.cz> <200904240747.20607@centrum.cz> <200904240748.18436@centrum.cz> In-Reply-To: <200904240748.18436@centrum.cz> Subject: configuring DBDictionary plugins Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org   Hi, I'm working on an application that will be running on Postgre and Oracle. My problem is that I want to use the UseTriggersForAutoAssign=true parametr for the Oracle dictionary, but I still want OpenJPA to be able autodetect the dictionary. If I put   into persistence.xml, then the Oracle dictionary is hardcoded into application and the application won't work on Postgre. Is there a way how to let OpenJPA autodetect the dictionary and at the same time to specify the UseTriggersForAutoAssign=true configuration property for the Oracle dictionary in the case it's used?   Thanks in advance,    Petr Pudlak