Joined: Mon Sep 01, 2003 11:36 am Posts: 1
|
I am trying to use the SchemaExport tool but I'm getting the following error: "Schema text failed: persistent class not found: MyClass". Does anybody knows what can be wrong? If I create the table by myself my application works well, but I can't generate de schema with the tool...
<target name="schemaexport" depends="setup.classpath">
<taskdef name="schemaexport"
classname="net.sf.hibernate.tool.hbm2ddl.SchemaExportTask"
classpathref="class.path"/>
<schemaexport
properties="hibernate.properties"
quiet="no"
text="no"
drop="no"
output="schema-export.sql">
<fileset dir="src">
<include name="**/*.hbm.xml"/>
</fileset>
</schemaexport>
</target>
Thanks
Ewerton
|
|