Hibernate 3.0.2
When I run SchemaExport I get:
Schema text failed: Could not configure datastore from file: foo.hbm.xml
I'm not sure why it is even looking for datastore information in the mapping file when it should be looking in the config file. My Ant script contains:
Code:
<schemaexport
config="${src.dir}/schemaExport.cfg.xml"
properties="${src.dir}/jdbc.hibernate.properties">
<fileset dir="${targetDir}">
<include name="**/*.hbm.xml"/>
</fileset>
</schemaexport>
I'm new to mapping files so your advice would be appreciated :)
Thanks,
Gili