Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version: 3.1
The generated SQL (show_sql=true):
Hi all,
i am a hibernate rooky and start training myself, so sorry for stupid question :-). I need to do reverse engeneering from a known oracle database, so i configure the hibernate.reveng.xml for select one table. It works. I got the *.hbm.xml and the java class :-) great.
No i have to implement the extend class. How is it possible to bring this into a reveng file ? Can anybody support me here ?
in my
build.xml i configured the lines:
....
<jdbcconfiguration revengfile="${basedir}/hibernate.reveng.xml" configurationfile="${basedir}/lib/hibernate.cfg.xml"/>
<hbm2hbmxml/>
<hbm2java/>
.....
the hibernate.reveng.xml looks like :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-reverse-engineering SYSTEM "http://hibernate.sourceforge.net/hibernate-reverse-engineering-3.0.dtd" >
<hibernate-reverse-engineering>
<!-- table-filter match-name="*" exclude="true" / -->
<table-filter match-schema="HLS_1300_ALPHA" match-name="SHPS" exclude="false" />
</hibernate-reverse-engineering>