Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 25339 invoked from network); 11 Jul 2006 04:55:55 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Jul 2006 04:55:55 -0000 Received: (qmail 17735 invoked by uid 500); 11 Jul 2006 04:55:54 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 17360 invoked by uid 500); 11 Jul 2006 04:55:53 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 17349 invoked by uid 99); 11 Jul 2006 04:55:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2006 21:55:53 -0700 X-ASF-Spam-Status: No, hits=0.8 required=10.0 tests=DNS_FROM_RFC_ABUSE,MAILTO_TO_SPAM_ADDR,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mcintyre.a@gmail.com designates 66.249.92.170 as permitted sender) Received: from [66.249.92.170] (HELO ug-out-1314.google.com) (66.249.92.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 10 Jul 2006 21:55:52 -0700 Received: by ug-out-1314.google.com with SMTP id m3so264542uge for ; Mon, 10 Jul 2006 21:55:31 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=LtoT2Y+i35/2M/vmNFQamm7l9M0ITizMvVddvLV6UDIcPrm5jwEPCgDklkiE3zYlF5VyErwFCIVwiuKkYczptMrM+5ljiUx60lgjCqTLisaK3VAcXPaWKJwTxpM+iiSd/Z+nHSAUs3Bzlho7q9Pt4DgCIuouHF5ECAvBXECGE5g= Received: by 10.67.93.7 with SMTP id v7mr545855ugl; Mon, 10 Jul 2006 21:55:31 -0700 (PDT) Received: by 10.67.27.4 with HTTP; Mon, 10 Jul 2006 21:55:31 -0700 (PDT) Message-ID: <54ac72d70607102155p19ba7bf8jad9bd7b70cd0df88@mail.gmail.com> Date: Mon, 10 Jul 2006 21:55:31 -0700 From: "Andrew McIntyre" To: "Derby Discussion" Subject: Re: Apache Derby with Hibernate3 (more specificly GRAILS) In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N On 7/10/06, Lance Shaw wrote: > Hello, > > I'm tring to use Derby with GRAILS which uses Hibernate3. When I try to > start the application using 'grails run-app' I get the following error: > > org.codehaus.groovy.grails.orm.hibernate.exceptions.CouldNotDetermineHibernateDialectException: > Could not determine Hibernate dialect for database name [Apache Derby]!] > > Anyone know if there are dialect classes available for Derby to work with > Hibernate3? Hi Lance, There is a Hibernate dialect class attached to this Hibernate JIRA issue: http://opensource.atlassian.com/projects/hibernate/browse/HB-1224 >From the comments there, it appears that the class should be in Hibernate 3.0. There is also a GRAILS JIRA issue that seems to correspond to the error you are receiving: http://jira.codehaus.org/browse/GRAILS-129 which, from the comments there, appears to have been fixed for Grail .02 on May 31, 2006. So, if you are using GRAILS .01, this is probably the issue you are hitting. You may want to check with the GRAILS project to see if this is in fact the issue you are encountering. cheers, andrew