Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

hibernate

Status
Not open for further replies.

mgl70

Programmer
Sep 10, 2003
105
0
0
US
Hi,
I need help on hibernate. how does hibernate work with WSAD5.1 and oracle 9i.

Is it possible add hibernate to a struts project in wsad.

(I know this way: With Myeclipse and oracle 9i, we can do hibernate).

Please guide me.

Thanks in advance.
 
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

Lior
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top