Return-Path: Delivered-To: apmail-openjpa-users-archive@locus.apache.org Received: (qmail 21819 invoked from network); 11 Jan 2008 15:52:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Jan 2008 15:52:30 -0000 Received: (qmail 26510 invoked by uid 500); 11 Jan 2008 15:52:19 -0000 Delivered-To: apmail-openjpa-users-archive@openjpa.apache.org Received: (qmail 26493 invoked by uid 500); 11 Jan 2008 15:52:19 -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 26484 invoked by uid 99); 11 Jan 2008 15:52:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2008 07:52:19 -0800 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_HELO_PASS,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [212.227.126.174] (HELO moutng.kundenserver.de) (212.227.126.174) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 11 Jan 2008 15:52:07 +0000 Received: from [192.168.0.234] (host86-129-121-212.range86-129.btcentralplus.com [86.129.121.212]) by mrelayeu.kundenserver.de (node=mrelayeu6) with ESMTP (Nemesis) id 0ML29c-1JDMAp1nHa-0003mG; Fri, 11 Jan 2008 16:51:59 +0100 Message-ID: <4787909E.3040506@cyberspaceroad.org> Date: Fri, 11 Jan 2008 15:51:58 +0000 From: Adam Hardy User-Agent: Icedove 1.5.0.14pre (X11/20071018) MIME-Version: 1.0 To: users@openjpa.apache.org Subject: Re: specifying schema in snapshot 1.1.0 References: <47838538.5070302@cyberspaceroad.org> <47838708.5000304@cyberspaceroad.org> <3f5f9f310801080739m4047baa8t505213215fc2312f@mail.gmail.com> <4783A421.4090506@cyberspaceroad.org> <4783B6D0.7020200@cyberspaceroad.org> <3f5f9f310801081917i921d3dcm4faea50b6f20fb54@mail.gmail.com> <4784A29E.20007@cyberspaceroad.org> <3f5f9f310801090252u577f28acj203fa51b4209d2c@mail.gmail.com> <4784B956.4070609@cyberspaceroad.org> <4787613D.2060507@cyberspaceroad.org> <3f5f9f310801110618x299f484bja594e033dcb3ea00@mail.gmail.com> In-Reply-To: <3f5f9f310801110618x299f484bja594e033dcb3ea00@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V01U2FsdGVkX1+es8Jm711zMmq3b9apVLIeGydLc6bA28syW0L nqXkjQgdwqv4F7mVDi+Plh4A1mrtFOztbvE9JZcLaKNNFAmAu3 AXSjqpI5jPnX3VX7fMliIA6Wy6tA9m6 X-Virus-Checked: Checked by ClamAV on apache.org Hi Prashant, thanks for that. Maybe it's a bug in the hypersonic dialect file? The only other database I've tested against is mysql, which of course doesn't have the concept of schemas at all, so it would never fail there. I'll see whether I can hook up to h2 as well, and maybe postgres. I should be able to get a free dev license for Oracle I think, so I'll see what I can see. Regards Adam Prashant Bhat on 11/01/08 14:18, wrote: > Hi Adam, > > I've created simple test project for this, which is working with > schema using openjpa's latest snapshot. This is configured to use > Spring-2.5.1 and H2-1.0.64(I like the web console of it very much:-) > and it runs with maven, also it needs Java6(only because of @Override:-). > > OpenJPA's mapping tool doesn't generate the db-schema, so I've bundled > the database with the schema created. So you just need to run 'mvn > test' to see it working. Btw, it also contains somewhat improved patch > from https://issues.apache.org/jira/browse/OPENJPA-332. > > Hope this helps, > Prashant > > P.S. I'm putting a cc to you, in case the list blocks mails sending zip files! > > > On Jan 11, 2008 8:29 PM, Adam Hardy wrote: >> I cannot see why this is not working for me. >> >> I stripped my project down to the simplest elements possible and still had the >> problem. >> >> I have logged it as a Jira at https://issues.apache.org/jira/browse/OPENJPA-483 >> and included the zipped up project, in case it helps if anyone wants to look at it. >> >> Thanks >> Adam >>