I'm new in Hibernate and I'm trying to run The HelloWorld example of Java Persistence with Hibernate book.
I use Oracle XE Database and NetBeans IDE.
I want to Export the Database Schema. As the Hibernate tool package has changed in new versions, I changed the ant target to use the new version of SchemaExportTask comparing to the scripts in the book.
this is my build.xml file:
and this is my hibernate.properties file?
the .hbm.xml files are in appropriate path along with the javaBeans class
when I run the SchmaExport Target, I get no error and the last message is: schema export complete
But the helloworld-ddl.sql file is empty and no DB Object is created.
Thanks in advance
Joined: Jul 09, 2010
I found the problem.
It just couldn't find my .hbm files