posted 13 years ago
I'm reading Chapter 2 of Harnessing Hibernate, and when generating my db schema, I get an error that a hibernate dialect has not been set.
Project Structure
The Build Error
relevant sections of build.xml
I have my hibernate.properties file in my src (${source.root}) directory, and it is copied over to the classes (${class.root}) directory in the dependent prepare <target> before the schema <target> is run.
It appears to me that hibernate.properties is not being found by hbm2ddl.
Should I be placing this file elsewhere?
I've also downloaded the examples and ended up with the same error, however the example does not appear to come with a hibernate.properties file, so that would be expected.