yes,it is possible!.
Use ant to generate your model classes from the hibernate hbm files. You would have to add the neeeded hibernate libs.
You could use ant to also generate your schema.
<target name="codegen" description="Generate Java source from OR mapping files" depends="prepare-dirs">
<hbm2java output="${basedir}/Generated Source">
<fileset dir="Java Source">
<include name="**/*.hbm.xml" />
</fileset>
</hbm2java>
</target>
Sorry for the short answer
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.