Hi Lance,

Derby works well with Hibernate 3.0; I don't have any experience with GRAILS.

You'll need a hibernate.properties file (possibly within GRAILS) that contains the following statements:

   hibernate.dialect org.hibernate.dialect.DerbyDialect
   hibernate.connection.driver_class org.apache.derby.jdbc.EmbeddedDriver

Charlie

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?



Lance







Reply via email to